aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx/selftest/not_test.sh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/selftest/not_test.sh.cpp')
-rw-r--r--test/libcxx/selftest/not_test.sh.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/libcxx/selftest/not_test.sh.cpp b/test/libcxx/selftest/not_test.sh.cpp
new file mode 100644
index 000000000000..5b8348f0eecd
--- /dev/null
+++ b/test/libcxx/selftest/not_test.sh.cpp
@@ -0,0 +1,17 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// RUN: %build
+// RUN: not %run
+
+int main()
+{
+ return 1;
+}