gcc/testsuite/g++.old-deja/g++.brendan/crash6.C
raw| 1 | // { dg-do assemble } |
| 2 | // GROUPS passed old-abort |
| 3 | // Should be fixed by: |
| 4 | // Sun Jun 13 12:55:22 1993 Brendan Kehoe ([email protected]) |
| 5 | // |
| 6 | // * cp-decl.c (start_function): Avoid a null-reference on CTYPE. |
| 7 | |
| 8 | template<int> |
| 9 | class Program { |
| 10 | } ; |
| 11 | |
| 12 | template<> |
| 13 | class Program<0> { |
| 14 | public: |
| 15 | inline friend float EvalNextArg() |
| 16 | { return 1.0 ; } |
| 17 | } ; |