gcc/testsuite/g++.old-deja/g++.brendan/crash3.C
raw| 1 | // { dg-do assemble } |
| 2 | // GROUPS passed old-abort |
| 3 | int strcmp(); |
| 4 | |
| 5 | extern "C" { |
| 6 | // dies in common_type, cuz the TREE_TYPE of t2 is 0, so it can't get its |
| 7 | // TYPE_MAIN_VARIANT value. |
| 8 | // <void_type 184510 void permanent VOID |
| 9 | // size <integer_cst 1844e0 type <integer_type 182548 int> constant permanent 0 |
| 10 | // align 1 symtab 0 |
| 11 | // pointer_to_this <pointer_type 1845e0> |
| 12 | |
| 13 | int strcmp(const char*, const char*); |
| 14 | } |