diff options
Diffstat (limited to 'test/CodeGen/elf-linker-options.c')
-rw-r--r-- | test/CodeGen/elf-linker-options.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/elf-linker-options.c b/test/CodeGen/elf-linker-options.c new file mode 100644 index 000000000000..cf2d1b92b998 --- /dev/null +++ b/test/CodeGen/elf-linker-options.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -triple i686---elf -emit-llvm %s -o - | FileCheck %s + +#pragma comment(lib, "alpha") + +// CHECK: !llvm.linker.options = !{[[NODE:![0-9]+]]} +// CHECK: [[NODE]] = !{!"lib", !"alpha"} + |