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;
}