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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [cond2.C] - Rev 816

Compare with Previous | Blame | View Log

// PR c++/11962
// { dg-options "" }

template<int X> class c;

template<int X, int Y> int test(c<X ? : Y>&);

void test(c<2>*c2) {
        test<0, 2>(*c2); // { dg-error "omitted" }
}

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.