diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-07 00:26:25 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-07 00:26:25 +0000 |
commit | 43a0857631abb25f2095de6092f02a718d8df1d0 (patch) | |
tree | 9501fd8abb5e4a35671bc7c86d7cef78077377df /clang/test/FixIt/typo.cpp | |
parent | 6da83624e44a4066c31524d60d2226de55c698a0 (diff) | |
download | bcm5719-llvm-43a0857631abb25f2095de6092f02a718d8df1d0.tar.gz bcm5719-llvm-43a0857631abb25f2095de6092f02a718d8df1d0.zip |
When we typo-correct a base class initializer, point to the base class
specifier that we corrected to.
llvm-svn: 92878
Diffstat (limited to 'clang/test/FixIt/typo.cpp')
-rw-r--r-- | clang/test/FixIt/typo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/FixIt/typo.cpp b/clang/test/FixIt/typo.cpp index ffeb18dde10..50c6d312b8c 100644 --- a/clang/test/FixIt/typo.cpp +++ b/clang/test/FixIt/typo.cpp @@ -35,7 +35,7 @@ bool test_string(std::string s) { } struct Base { }; -struct Derived : public Base { +struct Derived : public Base { // expected-note{{base class 'struct Base' specified here}} int member; // expected-note 3{{'member' declared here}} Derived() : base(), // expected-error{{initializer 'base' does not name a non-static data member or base class; did you mean the base class 'Base'?}} |