summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash6.C
blob: b975237a85f8cddf0e8dd9de785a51b1f7122a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }
// GROUPS passed old-abort
// Should be fixed by:
// Sun Jun 13 12:55:22 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
// 
// 	* cp-decl.c (start_function): Avoid a null-reference on CTYPE.

template<int>
class Program {
} ;

template<>
class Program<0> {
public:
   inline friend float EvalNextArg()
        { return 1.0 ; }
} ;