* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
[official-gcc.git] / libjava / testsuite / libjava.jni / pr29812_injar.c
blob5b045ce72a8eb983cf795e27cc2d435a00bf9dbf
2 #include <stdlib.h>
3 #include <assert.h>
4 #include <pr29812_injar.h>
6 JNIEXPORT jint JNICALL
7 JNI_OnLoad (JavaVM *vm, void *nothing)
9 JNIEnv *env;
10 jint r;
11 jclass k;
13 r = (*vm)->GetEnv (vm, (void **) &env, JNI_VERSION_1_2);
14 assert (r == JNI_OK);
15 k = (*env)->FindClass (env, "pr29812_injar$inner");
16 assert (k != NULL);
18 return JNI_VERSION_1_2;
21 void
22 Java_pr29812_1injar_doit (JNIEnv *env, jclass b)
24 jclass k = (*env)->FindClass(env, "pr29812_injar$inner");
25 assert (k != NULL);