Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
colon-autocorrect-2.C
blob: 1dfcbc0681ab8f43b71acab9dc90fff16e8a34c7 [
file
] [
log
] [
blame
]
// PR c++/44523
// { dg-do compile }
namespace
x
{
struct
a
{
};
}
template
<
typename
t
>
class
foo
{
};
foo
<
x
::
a
>
a1
;
foo
<
x
:
a
>
a2
;
// { dg-error "nested-name-specifier" }
x
::
a a3
=
a2
;
// { dg-error "conversion" }