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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
namespace-definition.C
blob
b7d4034cd7b2d548e0363028d839b1e66332b1c0
1
// PR 30891
2
// { dg-do compile }
3
4
int main() {
5
int i = 0;
6
namespace foo { // { dg-error "'namespace' definition is not allowed here" }
7
int j = 0;
8
}
9
return 0;
10
}