diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-05 00:17:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-05 00:17:29 +0000 |
commit | 24b89469acd5f386b0080f9baabaceda8e261314 (patch) | |
tree | 47139176153360fb10a61387eb31a16671e51ae3 /clang/test/SemaCXX/decl-init-ref.cpp | |
parent | 9dd55103c1f2acc17cf7a2fab0b9b69a8f1ef70a (diff) | |
download | bcm5719-llvm-24b89469acd5f386b0080f9baabaceda8e261314.tar.gz bcm5719-llvm-24b89469acd5f386b0080f9baabaceda8e261314.zip |
'const std::type_info*' instead of 'std::type_info const*'
llvm-svn: 113092
Diffstat (limited to 'clang/test/SemaCXX/decl-init-ref.cpp')
-rw-r--r-- | clang/test/SemaCXX/decl-init-ref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/decl-init-ref.cpp b/clang/test/SemaCXX/decl-init-ref.cpp index 922f0b78048..dc56332b5d0 100644 --- a/clang/test/SemaCXX/decl-init-ref.cpp +++ b/clang/test/SemaCXX/decl-init-ref.cpp @@ -21,7 +21,7 @@ extern B f(); const int& ri = (void)0; // expected-error {{reference to type 'const int' could not bind to an rvalue of type 'void'}} int main() { - const A& rca = f(); // expected-error {{reference initialization of type 'A const &' with initializer of type 'B' is ambiguous}} + const A& rca = f(); // expected-error {{reference initialization of type 'const A &' with initializer of type 'B' is ambiguous}} A& ra = f(); // expected-error {{non-const lvalue reference to type 'A' cannot bind to a temporary of type 'B'}} } |