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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [ttp10.C] - Blame information for rev 315

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-do compile }
2
 
3
// Origin: Ivan Godard 
4
//         Wolfgang Bangerth 
5
 
6
// PR c++/16175: Missing cv qualifier in error message output
7
 
8
template  struct Template {};
9
 
10
template class D>
11
struct B {
12
    static void foo1(const D *);        // { dg-error "const" }
13
    static void foo2(volatile D *);// { dg-error "volatile" }
14
};
15
 
16
class E : protected B