summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/instantiation-depth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/instantiation-depth.cpp')
-rw-r--r--test/SemaTemplate/instantiation-depth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/instantiation-depth.cpp b/test/SemaTemplate/instantiation-depth.cpp
index 522c4e1..31abb40 100644
--- a/test/SemaTemplate/instantiation-depth.cpp
+++ b/test/SemaTemplate/instantiation-depth.cpp
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -ftemplate-depth=5 -verify %s
+// RUN: clang-cc -fsyntax-only -ftemplate-depth 5 -verify %s
template<typename T> struct X : X<T*> { }; // expected-error{{recursive template instantiation exceeded maximum depth of 5}} \
// expected-note{{use -ftemplate-depth-N to increase recursive template instantiation depth}} \
OpenPOWER on IntegriCloud