summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/virtual-override.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-14 21:20:16 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-14 21:20:16 +0000
commit0224c6740066d6416b05e957a7b50823e00d01fe (patch)
tree3721dddbd06629f23445926d58d010918712e23f /clang/test/SemaCXX/virtual-override.cpp
parent24c332b140e10b286e0e094c95972407feabd4eb (diff)
downloadbcm5719-llvm-0224c6740066d6416b05e957a7b50823e00d01fe.tar.gz
bcm5719-llvm-0224c6740066d6416b05e957a7b50823e00d01fe.zip
Fix the same speling error in the test case (Duh).
llvm-svn: 71793
Diffstat (limited to 'clang/test/SemaCXX/virtual-override.cpp')
-rw-r--r--clang/test/SemaCXX/virtual-override.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/virtual-override.cpp b/clang/test/SemaCXX/virtual-override.cpp
index 1a917fee031..fc5d7794959 100644
--- a/clang/test/SemaCXX/virtual-override.cpp
+++ b/clang/test/SemaCXX/virtual-override.cpp
@@ -22,7 +22,7 @@ class A {
};
class B : A {
- virtual b* f(); // expected-error{{return type of virtual function 'f' is not covariant with the return type of the function it overrrides ('struct T2::b *' is not derived from 'struct T2::a *')}}
+ virtual b* f(); // expected-error{{return type of virtual function 'f' is not covariant with the return type of the function it overrides ('struct T2::b *' is not derived from 'struct T2::a *')}}
};
}
OpenPOWER on IntegriCloud