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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [error5.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// Origin: Wolfgang Bangerth 
3
// PR c++/11106: Error message gives partially mangled operator name
4
 
5
template  struct S {
6
    struct I {};
7
};
8
 
9
template  struct S2 : S {
10
    using S::operator typename S::I*; // { dg-error "operator S\\" "" }
11
};
12
 
13
template struct S2;  // { dg-message "required" "" }

powered by: WebSVN 2.1.0

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