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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [other/] [anon5.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/34094
2
// { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } }
3
// { dg-options "-g" }
4
 
5
namespace {
6
  struct c
7
  {
8
    static const bool t = 0;
9
  };
10
}
11
 
12
const bool &f()
13
{
14
  return c::t;  // { dg-message "undefined" "undefined" { target *-*-* } 0 }
15
                // Some targets report the error for the previous line, others
16
                // don't give line number inforamtion for it, so use line 0.
17
}
18
 
19
int main(void)
20
{
21
  return 0;
22
}
23
 

powered by: WebSVN 2.1.0

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