mirror of
https://github.com/opnsense/src.git
synced 2026-03-20 01:35:49 -04:00
11 lines
273 B
C++
11 lines
273 B
C++
// RUN: %clang_cc1 -flto=thin -flto-unit -triple x86_64-unknown-linux -fvisibility hidden -emit-llvm-bc -o %t %s
|
|
// RUN: llvm-modextract -o - -n 1 %t | llvm-dis | FileCheck %s
|
|
|
|
// CHECK: @_ZTV1A = linkonce_odr
|
|
class A {
|
|
virtual void f() {}
|
|
};
|
|
|
|
A *f() {
|
|
return new A;
|
|
}
|