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
target: Fix asm codegen for vfpclasss* and vcvtph2* instructions
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash43.C
blob
5172bbca24b733a5ba98399f3e9f434da82df8b2
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
template <int T>
5
struct S {
6
struct X {};
7
struct Y {};
8
9
template <int U>
10
friend struct S<U>::X;
11
12
template <int U>
13
friend typename S<U>::Y; // { dg-error "" } typename as friend
14
};
15
16
struct T {
17
template <int T>
18
friend struct S<T>::X;
19
};
20
21
struct U {
22
template <int T>
23
friend typename S<T>::X; // { dg-error "" } typename as friend
24
};