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
re PR c++/84691 (internal compiler error: in poplevel_class, at cp/name-lookup.c...
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
nested-name-1.C
blob
a02761cef7b2ebf196b6b93e7f910452885115f3
1
// { dg-options "-fdiagnostics-show-caret" }
2
3
namespace N
4
{
5
struct A {};
6
}
7
8
N:A a; /* { dg-error "nested-name-specifier" }
9
{ dg-begin-multiline-output "" }
10
N:A a;
11
^
12
::
13
{ dg-end-multiline-output "" } */