Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / flatten.cpp
blobe988d6d726dd7ab359d2a15725fb1efa04d2166f
1 // RUN: %clang_cc1 -triple=x86_64-linux-gnu -std=c++11 %s -emit-llvm -o - | FileCheck %s
3 void f(void) {}
5 [[gnu::flatten]]
6 // CHECK: define{{.*}} void @_Z1gv()
7 void g(void) {
8 // CHECK-NOT: call {{.*}} @_Z1fv
9 f();