summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/conditional-expr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-05 00:17:29 +0000
committerChris Lattner <sabre@nondot.org>2010-09-05 00:17:29 +0000
commit24b89469acd5f386b0080f9baabaceda8e261314 (patch)
tree47139176153360fb10a61387eb31a16671e51ae3 /clang/test/SemaCXX/conditional-expr.cpp
parent9dd55103c1f2acc17cf7a2fab0b9b69a8f1ef70a (diff)
downloadbcm5719-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/conditional-expr.cpp')
-rw-r--r--clang/test/SemaCXX/conditional-expr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/conditional-expr.cpp b/clang/test/SemaCXX/conditional-expr.cpp
index 065179b6da5..a7f2a4c9151 100644
--- a/clang/test/SemaCXX/conditional-expr.cpp
+++ b/clang/test/SemaCXX/conditional-expr.cpp
@@ -106,8 +106,8 @@ void test()
i1 = (i1 ? Base() : Derived()).trick();
i1 = (i1 ? Derived() : Base()).trick();
// should fail: const lost
- (void)(i1 ? Base() : constder()); // expected-error {{incompatible operand types ('Base' and 'Derived const')}}
- (void)(i1 ? constder() : Base()); // expected-error {{incompatible operand types ('Derived const' and 'Base')}}
+ (void)(i1 ? Base() : constder()); // expected-error {{incompatible operand types ('Base' and 'const Derived')}}
+ (void)(i1 ? constder() : Base()); // expected-error {{incompatible operand types ('const Derived' and 'Base')}}
Priv priv;
Fin fin;
OpenPOWER on IntegriCloud