[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / static-init-2.cpp
blob354fcd4dda538626ae98c1ca8b25e063f2ed1a1b
1 // RUN: %clang_cc1 -emit-llvm-only -verify %s
2 // expected-no-diagnostics
4 // Make sure we don't crash generating y; its value is constant, but the
5 // initializer has side effects, so EmitConstantExpr should fail.
6 int x();
7 int y = x() & 0;