summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/net44.C
blob: bc45b48788833ce141e283f8bd28679dc00fbe34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// Make sure we don't dump core

enum request { q, w, e};		// { dg-error "" } 

class request {				// { dg-error "" } 
public:
  int a;
  request( int b) {
    a = b;
  };
};