(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
warn_cxx0x.C
// { 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;
}