[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Sema / attr-nomerge-ast.cpp
blobc440cf760b16b05110ef84cea15e7de3752024a3
1 // RUN: %clang_cc1 -ast-dump %s 2>&1 | FileCheck %s
3 [[clang::nomerge]] void func();
4 [[clang::nomerge]] void func();
5 void func();
6 [[clang::nomerge]] void func() {}
8 // CHECK: FunctionDecl {{.*}} func 'void ()'
9 // CHECK-NEXT: NoMergeAttr
10 // CHECK-NEXT: FunctionDecl {{.*}} func 'void ()'
11 // CHECK-NEXT: NoMergeAttr
12 // CHECK-NEXT: FunctionDecl {{.*}} func 'void ()'
13 // CHECK-NEXT: NoMergeAttr {{.*}} Inherited
14 // CHECK-NEXT: FunctionDecl {{.*}} func 'void ()'
15 // CHECK-NEXT: CompoundStmt
16 // CHECK-NEXT: NoMergeAttr