diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-25 21:24:35 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-25 21:24:35 +0000 |
commit | b32d19de6ac85560267e40a65b12f6ccea26f3b3 (patch) | |
tree | 7bad54096c3da4f4edf7b89ffa4dbbd8d8cd5648 /llvm/test/FrontendC/attribute_constructor.c | |
parent | 2b5243d096ce2b7763cfd3a1c72f75a0443a50e6 (diff) | |
download | bcm5719-llvm-b32d19de6ac85560267e40a65b12f6ccea26f3b3.tar.gz bcm5719-llvm-b32d19de6ac85560267e40a65b12f6ccea26f3b3.zip |
Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically. Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).
llvm-svn: 120158
Diffstat (limited to 'llvm/test/FrontendC/attribute_constructor.c')
-rw-r--r-- | llvm/test/FrontendC/attribute_constructor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/FrontendC/attribute_constructor.c b/llvm/test/FrontendC/attribute_constructor.c index b2f7c9b19fc..da17a37e260 100644 --- a/llvm/test/FrontendC/attribute_constructor.c +++ b/llvm/test/FrontendC/attribute_constructor.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -c -o - | llvm-dis | grep llvm.global_ctors +// RUN: %llvmgcc %s -S -o - | grep llvm.global_ctors void foo() __attribute__((constructor)); void foo() { |