brintos

brintos / llvm-project-archived public Read only

0
0
Text · 336 B · 60722b3 Raw
9 lines · cpp
1// RUN: %clang_cc1 -triple i386-pc-win32 -fms-extensions -fms-compatibility -ast-dump %s | FileCheck %s2 3#pragma clang attribute push (__declspec(dllexport, noinline), apply_to=function)4void func1();5#pragma clang attribute pop6// CHECK: FunctionDecl {{.*}} func17// CHECK-NEXT: DLLExportAttr {{.*}}8// CHECK-NEXT: NoInlineAttr {{.*}}9