mirror of
https://github.com/opnsense/src.git
synced 2026-03-20 09:52:44 -04:00
20 lines
385 B
C++
20 lines
385 B
C++
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -g -S -emit-llvm -o - | FileCheck %s
|
|
|
|
struct A {
|
|
virtual void f();
|
|
};
|
|
|
|
struct B {
|
|
virtual void f();
|
|
};
|
|
|
|
struct C : A, B {
|
|
virtual void f();
|
|
};
|
|
|
|
void C::f() { }
|
|
|
|
// CHECK: !DISubprogram(linkageName: "_ZThn{{[48]}}_N1C1fEv"
|
|
// CHECK-SAME: line: 15
|
|
// CHECK-SAME: isDefinition: true
|
|
// CHECK-SAME: ){{$}}
|