summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/nullptr.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-12-19 08:11:05 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-12-19 08:11:05 +0000
commit7827520ce80aa16a2ef76abfe05f1f9c9bfefcf2 (patch)
tree0c29755e5ff79449b85a9b6ac4e03073abf02894 /clang/test/SemaCXX/nullptr.cpp
parent5103effb1d0860c1d3132afd7d4e052967f41f48 (diff)
downloadbcm5719-llvm-7827520ce80aa16a2ef76abfe05f1f9c9bfefcf2.tar.gz
bcm5719-llvm-7827520ce80aa16a2ef76abfe05f1f9c9bfefcf2.zip
Initialization improvements: addition of string initialization and a few
small bug fixes in SemaInit, switch over SemaDecl to use it more often, and change a bunch of diagnostics which are different with the new initialization code. llvm-svn: 91767
Diffstat (limited to 'clang/test/SemaCXX/nullptr.cpp')
-rw-r--r--clang/test/SemaCXX/nullptr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/nullptr.cpp b/clang/test/SemaCXX/nullptr.cpp
index 445f33cdcc6..a3aab7fbe3e 100644
--- a/clang/test/SemaCXX/nullptr.cpp
+++ b/clang/test/SemaCXX/nullptr.cpp
@@ -29,7 +29,7 @@ nullptr_t f(nullptr_t null)
bool b = nullptr;
// Can't convert nullptr to integral implicitly.
- uintptr_t i = nullptr; // expected-error {{incompatible type initializing}}
+ uintptr_t i = nullptr; // expected-error {{cannot initialize}}
// Operators
(void)(null == nullptr);
OpenPOWER on IntegriCloud