repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-10-23 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
spellcheck-pr80177.C
blob
2ff24e8b288fbb81d87731779d7e76dd118736fc
1
// { dg-do compile { target c++11 } }
2
3
void pr80177 ()
4
{
5
static_assertion (1 == 0, "1 == 0"); // { dg-error "3: 'static_assertion' was not declared in this scope" }
6
// { dg-message "3: suggested alternative: 'static_assert'" "" { target *-*-* } .-1 }
7
}