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 | |||||
Alexey Samsonov | 34b41f8 | 2012-10-25 10:18:50 +0000 | [diff] [blame] | 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 | |||||
Alexey Samsonov | c01526e | 2012-10-26 07:01:51 +0000 | [diff] [blame] | 17 | // CHECK: [ DW_TAG_subprogram ] [line 15] [def] [_ZThn{{4|8}}_N1C1fEv] |