[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / naked.cpp
blobc6fe1330cbfd7588f8a3d9ef36e58bc250d53197
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-windows -emit-llvm %s -o - | FileCheck %s
4 class TestNaked {
5 public:
6 void NakedFunction();
7 };
9 __attribute__((naked)) void TestNaked::NakedFunction() {
10 // CHECK-LABEL: define {{(dso_local )?}}{{(x86_thiscallcc )?}}void @
11 // CHECK: call void asm sideeffect
12 asm("");