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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [init/] [ref18.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/49395
2
 
3
volatile int foo();
4
struct A { volatile int i; };
5
typedef volatile int vi;
6
 
7
volatile int i;
8
 
9
const int& ir1 = foo();
10
//const int& ir2 = A().i;  // line 8
11
const int& ir3 = static_cast(i);
12
const int& ir4 = vi();  // line 10

powered by: WebSVN 2.1.0

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