llvm-project/clang/test/CodeGen/elf-linker-options.c

8 lines
199 B
C

// 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"}