OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.oliva/] [template7.C] - Rev 149

Go to most recent revision | Compare with Previous | Blame | View Log

// { dg-do assemble  }

// 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>(); // { dg-bogus "" } conversion from int to non-scalar
  }
};
B<A> foo;

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.