blob: 36a9f5ee44c27562d4055e5272174e6f7e8303c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 28 Nov 2000 <nathan@codesourcery.com>
// Inspired by 756. We'd ICE when trying to define a member of an
// incomplete template type.
template<class X> struct ObjCount;
template<class X> int ObjCount<X>::m; // { dg-error "" } undefined type
|