diff options
author | Hans Wennborg <hans@hanshq.net> | 2012-08-20 08:52:22 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2012-08-20 08:52:22 +0000 |
commit | d799a2b3b91f1ab8373b5e9f5957380beaf9a703 (patch) | |
tree | 9ae41f2cb9942949f0fa3ea5c12e09114982fbb8 /clang/test/SemaCXX/references.cpp | |
parent | 4a156c1b804210538f81c729c7ca5220749c3f53 (diff) | |
download | bcm5719-llvm-d799a2b3b91f1ab8373b5e9f5957380beaf9a703.tar.gz bcm5719-llvm-d799a2b3b91f1ab8373b5e9f5957380beaf9a703.zip |
Better wording for reference self-initialization warning.
llvm-svn: 162198
Diffstat (limited to 'clang/test/SemaCXX/references.cpp')
-rw-r--r-- | clang/test/SemaCXX/references.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/references.cpp b/clang/test/SemaCXX/references.cpp index 028c6909210..4f3dab0514b 100644 --- a/clang/test/SemaCXX/references.cpp +++ b/clang/test/SemaCXX/references.cpp @@ -136,4 +136,4 @@ namespace PR8608 { } // The following crashed trying to recursively evaluate the LValue. -const int &do_not_crash = do_not_crash; // expected-warning{{variable 'do_not_crash' is uninitialized when used within its own initialization}} +const int &do_not_crash = do_not_crash; // expected-warning{{reference 'do_not_crash' is not yet bound to a value when used within its own initialization}} |