summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/nullptr-98.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/nullptr-98.cpp')
-rw-r--r--clang/test/SemaCXX/nullptr-98.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/nullptr-98.cpp b/clang/test/SemaCXX/nullptr-98.cpp
new file mode 100644
index 0000000..0d624c2
--- /dev/null
+++ b/clang/test/SemaCXX/nullptr-98.cpp
@@ -0,0 +1,3 @@
+// RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s
+void f(void *);
+void g() { f(__nullptr); }