OSDN Git Service

Some raw string changes from N3077
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / warn_cxx0x.C
1 // { dg-options "-std=gnu++98 -Wc++0x-compat" }
2 int static_assert; // { dg-warning "will become a keyword" }
3 int nullptr; // { dg-warning "will become a keyword" }
4
5 void foo()
6 {
7   static_assert = 5;
8   nullptr = 5;
9 }