2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / template7.C
blob3bcff56ae0f796f2b86462392f5320c987e60893
1 // { dg-do assemble  }
3 // Copyright (C) 1999, 2000 Free Software Foundation
5 // by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6 // simplified from bug report by Paul Burchard <burchard@pobox.com>
8 template<class> struct A {};
9 template<template<class> class T> struct B {
10   B() {
11     T<B>(); // { dg-bogus "" } conversion from int to non-scalar
12   }
14 B<A> foo;