Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
nested-name-1.C
blob: a02761cef7b2ebf196b6b93e7f910452885115f3 [
file
] [
log
] [
blame
]
// { dg-options "-fdiagnostics-show-caret" }
namespace
N
{
struct
A
{};
}
N
:
A a
;
/* { dg-error "nested-name-specifier" }
{ dg-begin-multiline-output "" }
N:A a;
^
::
{ dg-end-multiline-output "" } */