projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
parser.c (cp_parser_decl_specifier_seq): Change "C++0x" to "C++11" in warnings.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto1.C
1
// { dg-options "-std=c++98 -Wc++11-compat" }
2
3
// Test warning for use of auto in C++98 mode with C++11
4
// compatibility warnings
5
void f()
6
{
7
auto int x = 5; // { dg-warning "changes meaning" }
8
}