1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple=x86_64-linux-gnu -std=c++11 %s -emit-llvm -o - | FileCheck %s 2*0a6a1f1dSLionel Sambuc f(void)3*0a6a1f1dSLionel Sambucvoid f(void) {} 4*0a6a1f1dSLionel Sambuc 5*0a6a1f1dSLionel Sambuc [[gnu::flatten]] 6*0a6a1f1dSLionel Sambuc // CHECK: define void @_Z1gv() g(void)7*0a6a1f1dSLionel Sambucvoid g(void) { 8*0a6a1f1dSLionel Sambuc // CHECK-NOT: call {{.*}} @_Z1fv 9*0a6a1f1dSLionel Sambuc f(); 10*0a6a1f1dSLionel Sambuc } 11