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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [anon5.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++/34094
2
// { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* alpha*-dec-osf* mips-sgi-irix* } } } }
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.