Improve handling of .file, .include and .incbin directives to
[oota-llvm.git] / test / MC / AsmParser / directive_file.s
index ec0b9543b9423da3ad635497c0676842400c96d7..9b99e0f24e998407ffb991416b2f691b78441513 100644 (file)
@@ -1,5 +1,9 @@
-# RUN: llvm-mc -triple i386-unknown-unknown %s
-# FIXME: Actually test the output.
+# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
 
         .file "hello"
-        .file 1 "world"
+        .file 1 "worl\144"   # "\144" is "d"
+        .file 2 "directory" "file"
+
+# CHECK: .file "hello"
+# CHECK: .file 1 "world"
+# CHECK: .file 2 "directory" "file"