summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/statements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/statements.cpp')
-rw-r--r--test/SemaCXX/statements.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/SemaCXX/statements.cpp b/test/SemaCXX/statements.cpp
new file mode 100644
index 0000000..d6925fe
--- /dev/null
+++ b/test/SemaCXX/statements.cpp
@@ -0,0 +1,5 @@
+// RUN: clang-cc %s -fsyntax-only -pedantic
+
+void foo() {
+ return foo();
+}
OpenPOWER on IntegriCloud