1 // RUN: %clang_cc1 -flto=thin -triple x86_64-unknown-linux -fvisibility hidden -emit-llvm-bc -o %t %s
2 // RUN: llvm-dis -o - %t | FileCheck %s
3 // RUN: %clang_cc1 -flto=thin -flto-unit -fno-lto-unit -triple x86_64-unknown-linux -fvisibility hidden -emit-llvm-bc -o %t %s
4 // RUN: llvm-dis -o - %t | FileCheck %s
5 
6 // CHECK-NOT: !type
7 class A {
f()8   virtual void f() {}
9 };
10 
f()11 A *f() {
12   return new A;
13 }
14