Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
warn_cxx0x.C
blob: e07d33b7faf752bc99f82c118ff6d19e016dad61 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options "-std=gnu++98 -Wc++11-compat" }
int
static_assert
;
// { dg-warning "is a keyword" }
int
nullptr
;
// { dg-warning "is a keyword" }
void
foo
()
{
static_assert
=
5
;
nullptr
=
5
;
}