commit | 4a2c19bf2330e31851330423187ec48035cab1a5 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Tue Dec 22 02:46:13 2009 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Tue Dec 22 02:46:13 2009 +0000 |
tree | e4310c7128c35e889b59bee99abab4f6a7835ab4 | |
parent | 085446216a198ced4183ec1571e1ae51c2920e98 [diff] [blame] |
Switch default arguments over to InitializationSequence. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91883 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaTemplate/default-expr-arguments.cpp b/test/SemaTemplate/default-expr-arguments.cpp index df3cc96..8518d7b 100644 --- a/test/SemaTemplate/default-expr-arguments.cpp +++ b/test/SemaTemplate/default-expr-arguments.cpp
@@ -100,7 +100,7 @@ // PR5283 namespace PR5283 { template<typename T> struct A { - A(T = 1); // expected-error 3 {{incompatible type initializing 'int', expected 'int *'}} + A(T = 1); // expected-error 3 {{cannot initialize a parameter of type 'int *' with an rvalue of type 'int'}} }; struct B : A<int*> {