Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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" }