Eli Friedman | d6a9324 | 2010-03-07 05:49:51 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm-only |
2 | // PR6294 | ||||
3 | |||||
4 | class A { | ||||
John McCall | 7002f4c | 2010-04-09 19:03:51 +0000 | [diff] [blame] | 5 | public: virtual ~A(); |
Eli Friedman | d6a9324 | 2010-03-07 05:49:51 +0000 | [diff] [blame] | 6 | }; |
7 | class B { | ||||
8 | class C; | ||||
9 | }; | ||||
10 | class B::C : public A { | ||||
11 | C(); | ||||
12 | }; | ||||
13 | B::C::C() {} |