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
PR c++/67273
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
colon-autocorrect-2.C
blob
1dfcbc0681ab8f43b71acab9dc90fff16e8a34c7
1
// PR c++/44523
2
// { dg-do compile }
3
4
namespace x {
5
struct a { };
6
}
7
8
template <typename t>
9
class foo {
10
};
11
12
foo<x::a> a1;
13
foo<x:a> a2; // { dg-error "nested-name-specifier" }
14
15
x::a a3 = a2; // { dg-error "conversion" }