[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / SemaCXX / warn-inline-namespace-reopened-twice.cpp
blobac22280fdf8009e1efeee1b7685da79bd8ec614e
1 // RUN: %clang_cc1 -fsyntax-only -Wall -verify -std=c++11 %s
3 // Regression test for #50794.
5 // expected-note@+1 2 {{previous definition is here}}
6 inline namespace X {}
8 namespace X {} // expected-warning {{inline namespace reopened as a non-inline namespace}}
9 namespace X {} // expected-warning {{inline namespace reopened as a non-inline namespace}}