blob: 5ad9b61b83a1108ea70d5bb74a53e50d50077cc5 (
plain)
1
2
3
4
5
6
7
8
9
|
// { dg-options "-std=gnu++98 -Wc++0x-compat" }
int static_assert; // { dg-warning "will become a keyword" }
int nullptr; // { dg-warning "will become a keyword" }
void foo()
{
static_assert = 5;
nullptr = 5;
}
|