diff options
Diffstat (limited to 'test/CodeGen/mips-inline-asm-abi.c')
-rw-r--r-- | test/CodeGen/mips-inline-asm-abi.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/mips-inline-asm-abi.c b/test/CodeGen/mips-inline-asm-abi.c new file mode 100644 index 0000000..20c4f8d --- /dev/null +++ b/test/CodeGen/mips-inline-asm-abi.c @@ -0,0 +1,12 @@ +// REQUIRES: mips-registered-target +// RUN: %clang_cc1 -triple mips-linux-gnu -emit-obj -o - %s | \ +// RUN: llvm-readobj -h - | FileCheck %s + +// CHECK: EF_MIPS_ABI_O32 + +__asm__( +"bar:\n" +" nop\n" +); + +void foo() {} |