blob: 16a42d8c6bab746a727f2cd4dfab349571f314da [file] [log] [blame]
// Build don't link:
// Copyright (C) 1999, 2000 Free Software Foundation
// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
// simplified from bug report by Paul Burchard <burchard@pobox.com>
template<class> struct A {};
template<template<class> class T> struct B {
B() {
T<B>(); // gets bogus error - conversion from int to non-scalar
}
};
B<A> foo;