summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/canonical-expr-type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/canonical-expr-type.cpp')
-rw-r--r--test/SemaTemplate/canonical-expr-type.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/SemaTemplate/canonical-expr-type.cpp b/test/SemaTemplate/canonical-expr-type.cpp
index 7582df5..4770c4f 100644
--- a/test/SemaTemplate/canonical-expr-type.cpp
+++ b/test/SemaTemplate/canonical-expr-type.cpp
@@ -22,14 +22,10 @@ void f0a(T x, __typeof__(f(N)) y) { } // expected-note{{previous}}
void f(int);
template<typename T, T N>
-void f0a(T x, __typeof__(f(N)) y) { } // expected-error{{redefinition}} \
- // expected-note{{previous}}
+void f0a(T x, __typeof__(f(N)) y) { } // expected-error{{redefinition}}
void f(float);
-template<typename T, T N>
-void f0a(T x, __typeof__(f(N)) y) { } // expected-error{{redefinition}}
-
// Test dependently-sized array canonicalization
template<typename T, int N, int M>
void f1(T (&array)[N + M]) { } // expected-note{{previous}}
OpenPOWER on IntegriCloud