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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [tmplattr6.C] - Blame information for rev 717

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

Line No. Rev Author Line
1 693 jeremybenn
// Don't crash on an unknown attribute.
2
 
3
struct foo {
4
  template 
5
  void __attribute__((leafify)) bar() {} // { dg-warning "ignored" }
6
};
7
 
8
void bar(void)
9
{
10
  foo f;
11
  f.bar();
12
}

powered by: WebSVN 2.1.0

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