summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash3.C
blob: c5088f10de463aa728e4a9d3e3e7549de4df7596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// GROUPS passed old-abort
int	strcmp();

extern "C" {
      // dies in common_type, cuz the TREE_TYPE of t2 is 0, so it can't get its
      // TYPE_MAIN_VARIANT value.
      // <void_type 184510 void permanent VOID
      //  size <integer_cst 1844e0 type <integer_type 182548 int> constant permanent 0
      //    align 1 symtab 0
      //    pointer_to_this <pointer_type 1845e0>

int       strcmp(const char*, const char*);
}