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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [vla10.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++/48446
2
// { dg-options "" }
3
 
4
template
5
struct A
6
{
7
  ~A ();
8
  T *operator-> () const;
9
};
10
 
11
struct B
12
{
13
  typedef A  P;
14
  static P foo (int);
15
};
16
 
17
struct C
18
{
19
  typedef A P;
20
  static const int c = 80;
21
};
22
 
23
C::P bar ();
24
 
25
void
26
baz ()
27
{
28
  char z[bar ()->c];
29
  {
30
    B::P m = B::foo (sizeof (z));
31
  }
32
}

powered by: WebSVN 2.1.0

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