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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [array1.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
// Copyright (C) 2004 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 29 Nov 2004 
3
 
4
// PR 18672:ICE gimplifying incomplete array type.
5
// Origin: Magnus Fromreide 
6
 
7
struct A;
8
 
9
struct D {
10
  static A ary[];
11
};
12
extern A ary[];
13
 
14
void Foo (A const *);
15
 
16
void Bar ()
17
{
18
  Foo (D::ary);
19
  Foo (::ary);
20
}

powered by: WebSVN 2.1.0

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