summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/misc2.C
blob: 8ac73676832bc5152f4fd4b73b2181f88fd192af (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// { dg-options "-ansi -pedantic" }
// GROUPS passed
/* -ansi -pedantic-errors should catch this. */

class C {
 public:
  extern inline int A() {// { dg-error "" } .*
	return 1;
  }
};