repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CXX
/
basic
/
basic.def
/
p2.cpp
blob
ccb7a66cff8f03253fff5b6a74c5f7dbe09cf029
1
// RUN: %clang_cc1 -std=c++1z -verify %s -Wdeprecated
2
3
namespace
{
4
struct
A
{
5
static
constexpr
int
n
=
0
;
6
};
7
const int
A
::
n
;
// expected-warning {{deprecated}}
8
9
struct
B
{
10
static
constexpr
int
m
=
0
;
11
};
12
constexpr
int
B
::
m
;
// expected-warning {{deprecated}}
13
}