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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template28.C
blob
7359fa12d3b119a5ae150963e0c5188d21eb4592
1
// { dg-do run }
2
// PRMS Id: 7179
3
4
template <class T>
5
class Car{
6
public:
7
Car();
8
} ;
9
10
class Wheels{
11
public:
12
Wheels();
13
} ;
14
15
class Shop
16
{
17
public:
18
Shop();
19
private:
20
Car<Wheels> car ;
21
} ;
22
23
Wheels::Wheels() {}
24
25
Shop::Shop() {}
26
27
int main()
28
{
29
Shop shop ;
30
return 0 ;
31
}
32
33
template <class T>
34
Car<T>::Car() {}