diff options
Diffstat (limited to 'test/SemaCXX/cxx0x-initializer-constructor.cpp')
| -rw-r--r-- | test/SemaCXX/cxx0x-initializer-constructor.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/test/SemaCXX/cxx0x-initializer-constructor.cpp b/test/SemaCXX/cxx0x-initializer-constructor.cpp index c10bee917ac0..07a233b56ce1 100644 --- a/test/SemaCXX/cxx0x-initializer-constructor.cpp +++ b/test/SemaCXX/cxx0x-initializer-constructor.cpp @@ -173,8 +173,7 @@ namespace objects {      // invalid      H h1({1, 2}); // expected-error {{no matching constructor}}      (void) new H({1, 2}); // expected-error {{no matching constructor}} -    // FIXME: Bad diagnostic, mentions void type instead of init list. -    (void) H({1, 2}); // expected-error {{no matching conversion}} +    (void) H({1, 2}); // expected-error {{no matching constructor}}      // valid (by copy constructor).      H h2({1, nullptr});  | 
