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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [local1.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/28056
2
 
3
void f1();
4
 
5
namespace N {
6
  void f2();
7
}
8
 
9
class C {
10
  static void f3();
11
};
12
 
13
void foo() {
14
  void ::f1();  // { dg-error "qualified" }
15
  void N::f2(); // { dg-error "qualified" }
16
  void C::f3(); // { dg-error "qualified" }
17
  void ::f4();  // { dg-error "qualified" }
18
}

powered by: WebSVN 2.1.0

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