diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-10-03 05:04:49 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-10-03 05:04:49 +0000 |
commit | 189c699cadb71486fc27bb3e09947b9d3fe186bc (patch) | |
tree | 3bdd7fd40f8c2853f53ce8f2f3856befbf939876 /clang/test/CodeGen/atomic-ops.c | |
parent | 16c54d7186e21631543ff31af570d81adfd5c4e1 (diff) | |
download | bcm5719-llvm-189c699cadb71486fc27bb3e09947b9d3fe186bc.tar.gz bcm5719-llvm-189c699cadb71486fc27bb3e09947b9d3fe186bc.zip |
Make test/CodeGen/atomic-ops.c free-standing
This test includes stdint.h (via stdatomic.h), which might include system
headers (and that might not work, depending on the system configuration).
Attempting to fix llvm-clang-lld-x86_64-debian-fast.
llvm-svn: 218960
Diffstat (limited to 'clang/test/CodeGen/atomic-ops.c')
-rw-r--r-- | clang/test/CodeGen/atomic-ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/atomic-ops.c b/clang/test/CodeGen/atomic-ops.c index b146eee532b..7bc45b6135c 100644 --- a/clang/test/CodeGen/atomic-ops.c +++ b/clang/test/CodeGen/atomic-ops.c @@ -1,9 +1,9 @@ -// RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-apple-darwin9 | FileCheck %s +// RUN: %clang_cc1 %s -emit-llvm -o - -ffreestanding -triple=i686-apple-darwin9 | FileCheck %s // Also test serialization of atomic operations here, to avoid duplicating the // test. -// RUN: %clang_cc1 %s -emit-pch -o %t -triple=i686-apple-darwin9 -// RUN: %clang_cc1 %s -include-pch %t -triple=i686-apple-darwin9 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -emit-pch -o %t -ffreestanding -triple=i686-apple-darwin9 +// RUN: %clang_cc1 %s -include-pch %t -ffreestanding -triple=i686-apple-darwin9 -emit-llvm -o - | FileCheck %s #ifndef ALREADY_INCLUDED #define ALREADY_INCLUDED |