Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / basic / basic.def / p2.cpp
blobccb7a66cff8f03253fff5b6a74c5f7dbe09cf029
1 // RUN: %clang_cc1 -std=c++1z -verify %s -Wdeprecated
3 namespace {
4 struct A {
5 static constexpr int n = 0;
6 };
7 const int A::n; // expected-warning {{deprecated}}
9 struct B {
10 static constexpr int m = 0;
12 constexpr int B::m; // expected-warning {{deprecated}}