diff options
Diffstat (limited to 'clang/test/CIR/CodeGen/module-asm.c')
-rw-r--r-- | clang/test/CIR/CodeGen/module-asm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CIR/CodeGen/module-asm.c b/clang/test/CIR/CodeGen/module-asm.c new file mode 100644 index 0000000..e6cec5e --- /dev/null +++ b/clang/test/CIR/CodeGen/module-asm.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-cir %s -o %t.cir +// RUN: FileCheck --input-file=%t.cir %s + +// CHECK: cir.module_asm = [".globl bar", ".globl foo"] +__asm (".globl bar"); +__asm (".globl foo"); |