Alexey Samsonov | 34b41f8 | 2012-10-25 10:18:50 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 %s -g -S -emit-llvm -o - | FileCheck %s |
2 | |||||
3 | struct A { | ||||
4 | virtual void f(); | ||||
5 | }; | ||||
6 | |||||
7 | struct B { | ||||
8 | virtual void f(); | ||||
9 | }; | ||||
10 | |||||
11 | struct C : A, B { | ||||
12 | virtual void f(); | ||||
13 | }; | ||||
14 | |||||
15 | void C::f() { } | ||||
16 | |||||
17 | // CHECK: [ DW_TAG_subprogram ] [line 15] [def] [_ZThn8_N1C1fEv] |