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
testsuite: Add tests for C23 __STDC_VERSION__
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
tempparse.C
blob
1756a0c1c2479176c9c592e87ede1aad97338739
1
// { dg-do assemble }
2
/*
3
PRMS Id: 3631
4
Bug is: g++ mangles template class names in a way that it won't accept,
5
and then tries to feed them to itself.
6
*/
7
8
template<class T>
9
struct A {
10
A();
11
};
12
13
template<class T>
14
struct B : A<T> {
15
B();
16
}; // { dg-bogus "" } B<C<char>>
17
18
template<class T>
19
struct C {
20
C();
21
};
22
23
template<class T>
24
struct D {
25
D();
26
B<C<T> > p_f;
27
};
28
29
typedef D<char> Dummy;