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/] [defarg5.C] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
 
3
// Origin: Ivan Godard 
4
//         Wolfgang Bangerth 
5
 
6
// PR c++/17344: Substitution failure is not an error
7
// for default template argument
8
 
9
template  struct intTraits;
10
 
11
template<> struct intTraits {
12
    static const int i = 0;
13
};
14
 
15
template::i> struct A {};
16
 
17
struct S {
18
    template