[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / attr-leaf.c
blob70b76b56f67f91bcae302f011af72984eb2db30b
1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -Oz -o - %s | FileCheck %s
3 // CHECK: define{{.*}} void @f() local_unnamed_addr [[ATTRS:#[0-9]+]] {
4 void f(void) __attribute__((leaf));
6 void f(void)
10 // CHECK: attributes [[ATTRS]] = { {{.*}}nocallback{{.*}} }