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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [other/] [ptrmem5.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
// PR 14123
// PR 14123
struct a
struct a
{
{
  int x[8];
  int x[8];
};
};
int main()
int main()
{
{
  int a::*n[8];
  int a::*n[8];
  n = &a::x;                    // { dg-error "int \\(a::\\*\\)" }
  n = &a::x;                    // { dg-error "int \\(a::\\*\\)" }
}
}
 
 

powered by: WebSVN 2.1.0

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