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

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

Line No. Rev Author Line
1 149 jeremybenn
struct Attribute { };
2
 
3
template  bool operator == (const Attribute &attr, const T &value);
4
 
5
enum {
6
  anon = 123
7
};
8
 
9
void test(int foo)
10
{
11
  if (foo == anon) ;  /* { dg-bogus "anonymous type" } */
12
}

powered by: WebSVN 2.1.0

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