OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/44157
[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
}