default-function-attr.c 221 Bytes Raw Blame History Permalink 1 2 3 4 5 6 // RUN: %clang_cc1 -triple x86_64-unknown-linux -default-function-attr foo=bar -emit-llvm %s -o - | FileCheck %s // CHECK: define void @foo() #[[X:[0-9]+]] void foo() {} // CHECK: attributes #[[X]] = {{.*}} "foo"="bar"