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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [eh/] [cleanup5.C] - Blame information for rev 823

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

Line No. Rev Author Line
1 149 jeremybenn
// PR 17907
2
// { dg-do compile }
3
// { dg-options "" }
4
// We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
5
 
6
 
7
struct String {
8
  ~String();
9
  int size() const;
10
};
11
struct CodingSystem {
12
  String convertOut() const;
13
};
14
void inputOpened(CodingSystem *outputCodingSystem)
15
{
16
   char filePath[outputCodingSystem->convertOut().size()];
17
}

powered by: WebSVN 2.1.0

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