aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/atomic_init.c
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-04-11 17:55:32 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-04-11 17:55:32 +0000
commitfafbf06732746f3ceca21d452d77b144ba8652ae (patch)
tree828df18dd161d468f4d3be6f25fcad877d37afce /test/CodeGen/atomic_init.c
parent5d70cfddc8a8a450d1425e190f10512a51352e5d (diff)
Provide, and document, a set of __c11_atomic_* intrinsics to implement C11's
<stdatomic.h> header. In passing, fix LanguageExtensions to note that C11 and C++11 are no longer "upcoming standards" but are now actually standardized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154513 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/atomic_init.c')
-rw-r--r--test/CodeGen/atomic_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/atomic_init.c b/test/CodeGen/atomic_init.c
index 243eb602cb..6f773bef48 100644
--- a/test/CodeGen/atomic_init.c
+++ b/test/CodeGen/atomic_init.c
@@ -9,6 +9,6 @@ void foo()
{
_Atomic(int) j = 12; // CHECK: store
// CHECK-NOT: atomic
- __atomic_init(&j, 42); // CHECK: store
- // CHECK-NOT: atomic
+ __c11_atomic_init(&j, 42); // CHECK: store
+ // CHECK-NOT: atomic
}