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