summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/crash7.C
blob: 95c7c2fb5a02c3cc33979cec5dea8960f4c6938d (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// Bug: g++ can't deal.

typedef unsigned size_t;	// { dg-error "" } previous declaration
typedef unsigned long size_t;	// { dg-error "" } redefining size_t
void f (size_t);		// causes compiler segfault -