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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend61b.C
blob
2da5d60b55e319b5a4968fad2ce1576fd0e63424
1
// PR c++/69323
2
3
template<int VALUE>
4
struct Outer
5
{
6
struct StupidValueTrick
7
{
8
template<int VAL> friend struct Outer::StupidValueTrick; // { dg-error "not a template" }
9
};
10
};
11
typedef Outer<42>::StupidValueTrick GoodValue;
12
GoodValue good;