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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [java-1.C] - Blame information for rev 301

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-do compile { target { ! { powerpc-ibm-aix* } } } }
2
// { dg-options "" }
3
// Test extern "java" and some throwing of the objects.
4
 
5
extern "Java"
6
  namespace java
7
  {
8
    namespace lang
9
    {
10
      class Throwable;
11
      class Class;
12
  }
13
}
14
typedef class java::lang::Throwable* jthrowable;
15
typedef class java::lang::Class* jclass;
16
class java::lang::Throwable {
17
public:
18
  static jclass class$;
19
};
20
int
21
_Jv_FindClassFromSignature ( )
22
  try
23
    {
24
    }
25
  catch (java::lang::Throwable *ncdfe) {}
26
 

powered by: WebSVN 2.1.0

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