summaryrefslogtreecommitdiff
path: root/clang/test/Parser/cxx-variadic-func.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/cxx-variadic-func.cpp')
-rw-r--r--clang/test/Parser/cxx-variadic-func.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Parser/cxx-variadic-func.cpp b/clang/test/Parser/cxx-variadic-func.cpp
new file mode 100644
index 0000000..b9360d6
--- /dev/null
+++ b/clang/test/Parser/cxx-variadic-func.cpp
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -fsyntax-only %s
+
+void f(...) {
+ int g(int(...));
+}