Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.old-deja/g++.pt/incomplete1.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 // { dg-do assemble } | |
2 | |
3 // Copyright (C) 2000 Free Software Foundation, Inc. | |
4 // Contributed by Nathan Sidwell 28 Nov 2000 <nathan@codesourcery.com> | |
5 | |
6 // Inspired by 756. We'd ICE when trying to define a member of an | |
7 // incomplete template type. | |
8 | |
9 template<class X> struct ObjCount; | |
10 | |
11 template<class X> int ObjCount<X>::m; // { dg-error "" } undefined type |