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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [defarg5.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// { dg-do compile }
// { dg-do compile }
// Origin: Ivan Godard 
// Origin: Ivan Godard 
//         Wolfgang Bangerth 
//         Wolfgang Bangerth 
// PR c++/17344: Substitution failure is not an error
// PR c++/17344: Substitution failure is not an error
// for default template argument
// for default template argument
template  struct intTraits;
template  struct intTraits;
template<> struct intTraits {
template<> struct intTraits {
    static const int i = 0;
    static const int i = 0;
};
};
template::i> struct A {};
template::i> struct A {};
struct S {
struct S {
    template