aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/nostdincxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/nostdincxx.cpp')
-rw-r--r--test/Driver/nostdincxx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/nostdincxx.cpp b/test/Driver/nostdincxx.cpp
new file mode 100644
index 0000000000..803648840d
--- /dev/null
+++ b/test/Driver/nostdincxx.cpp
@@ -0,0 +1,4 @@
+// RUN: %clangxx -nostdinc++ %s 2>&1 | FileCheck %s
+
+// CHECK: file not found
+#include <vector>