Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / type-metadata-thinlto.cpp
blob702db9684eb38baf6187b6601894f96db22621ef
1 // RUN: %clang_cc1 -flto=thin -flto-unit -fsplit-lto-unit -triple x86_64-unknown-linux -fvisibility=hidden -emit-llvm-bc -o %t %s
2 // RUN: llvm-modextract -o - -n 1 %t | llvm-dis | FileCheck %s
3 // RUN: llvm-modextract -b -o - -n 1 %t | llvm-bcanalyzer -dump | FileCheck %s --check-prefix=LTOUNIT
4 // LTOUNIT: <FLAGS op0=8/>
6 // CHECK: @_ZTV1A = linkonce_odr
7 class A {
8 virtual void f() {}
9 };
11 A *f() {
12 return new A;