diff options
Diffstat (limited to 'test/SemaCXX/type-convert-construct.cpp')
-rw-r--r-- | test/SemaCXX/type-convert-construct.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/type-convert-construct.cpp b/test/SemaCXX/type-convert-construct.cpp index 8f92a035dc..479af21476 100644 --- a/test/SemaCXX/type-convert-construct.cpp +++ b/test/SemaCXX/type-convert-construct.cpp @@ -2,7 +2,7 @@ void f() { float v1 = float(1); - int v2 = typeof(int)(1,2); // expected-error {{function-style cast to a builtin type can only take one argument}} + int v2 = typeof(int)(1,2); // expected-error {{excess elements in scalar initializer}} typedef int arr[]; int v3 = arr(); // expected-error {{array types cannot be value-initialized}} int v4 = int(); |