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/ref-init-ambiguous.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/ref-init-ambiguous.cpp')
-rw-r--r-- | clang/test/SemaCXX/ref-init-ambiguous.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/ref-init-ambiguous.cpp b/clang/test/SemaCXX/ref-init-ambiguous.cpp index a8e95a39539..752a3484d02 100644 --- a/clang/test/SemaCXX/ref-init-ambiguous.cpp +++ b/clang/test/SemaCXX/ref-init-ambiguous.cpp @@ -14,15 +14,15 @@ struct C : B, A { }; void test(C c) { - const E2 &e2 = c; // expected-error {{reference initialization of type 'E2 const &' with initializer of type 'C' is ambiguous}} + const E2 &e2 = c; // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}} } void foo(const E2 &);// expected-note{{passing argument to parameter here}} const E2 & re(C c) { - foo(c); // expected-error {{reference initialization of type 'E2 const &' with initializer of type 'C' is ambiguous}} + foo(c); // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}} - return c; // expected-error {{reference initialization of type 'E2 const &' with initializer of type 'C' is ambiguous}} + return c; // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}} } |