summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-09-27 21:17:38 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-09-27 21:17:38 +0000
commitcd39d413b47fbc509787355aed69ad8ebf15e80e (patch)
treeb535894c54e12875782a1740b522b99fa0e7815e /libcxx/test
parentb671d84adea6a1a7effd95e263199f11084d8eba (diff)
downloadbcm5719-llvm-cd39d413b47fbc509787355aed69ad8ebf15e80e.tar.gz
bcm5719-llvm-cd39d413b47fbc509787355aed69ad8ebf15e80e.zip
Getting started on <atomic>
llvm-svn: 114887
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/atomics/version.pass.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/libcxx/test/atomics/version.pass.cpp b/libcxx/test/atomics/version.pass.cpp
new file mode 100644
index 00000000000..283b5df305a
--- /dev/null
+++ b/libcxx/test/atomics/version.pass.cpp
@@ -0,0 +1,20 @@
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// <atomic>
+
+#include <atomic>
+
+#ifndef _LIBCPP_VERSION
+#error _LIBCPP_VERSION not defined
+#endif
+
+int main()
+{
+}
OpenPOWER on IntegriCloud