1 // UNSUPPORTED: experimental-new-pass-manager 2 // See the comment for CodeGen/flatten.c on why this is unsupported with the new 3 // PM. 4 5 // RUN: %clang_cc1 -triple=x86_64-linux-gnu -std=c++11 %s -emit-llvm -o - | FileCheck %s 6 f(void)7void f(void) {} 8 9 [[gnu::flatten]] 10 // CHECK: define void @_Z1gv() g(void)11void g(void) { 12 // CHECK-NOT: call {{.*}} @_Z1fv 13 f(); 14 } 15