aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/PR21872.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/PR21872.cpp')
-rw-r--r--test/Parser/PR21872.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Parser/PR21872.cpp b/test/Parser/PR21872.cpp
new file mode 100644
index 000000000000..ae0a13d9c1ea
--- /dev/null
+++ b/test/Parser/PR21872.cpp
@@ -0,0 +1,4 @@
+// RUN: not %clang_cc1 -fsyntax-only %s
+template <typename T> struct S {
+ int k = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
+int f;