Produce a undefined reference to _GLOBAL_OFFSET_TABLE_ when needed.
[oota-llvm.git] / test / MC / AsmParser / hello.s
index 891e47f94dff1c8df3dd9a9a638d0131f3de1d59..2b62e0f008c7170dc6cd85878260fd08d5345b56 100644 (file)
@@ -1,5 +1,6 @@
-// RUN: llvm-mc -triple i386-unknown-unknown %s -o -
-        
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -o -
+// RUN: llvm-mc -triple i386-apple-darwin9 %s -o - -output-asm-variant=1
+
        .text
        .align  4,0x90
        .globl  _main