Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.oliva/template7.C

raw
1 // { dg-do assemble }
2
3 // Copyright (C) 1999, 2000 Free Software Foundation
4
5 // by Alexandre Oliva <[email protected]>
6 // simplified from bug report by Paul Burchard <[email protected]>
7
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 }
13 };
14 B<A> foo;