You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
362 B
14 lines
362 B
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
|
|
// RUN: %clang_cc1 -triple x86_64-windows -emit-llvm %s -o - | FileCheck %s
|
|
|
|
class TestNaked {
|
|
public:
|
|
void NakedFunction();
|
|
};
|
|
|
|
__attribute__((naked)) void TestNaked::NakedFunction() {
|
|
// CHECK-LABEL: define {{(dso_local )?}}{{(x86_thiscallcc )?}}void @
|
|
// CHECK: call void asm sideeffect
|
|
asm("");
|
|
}
|