Files
Roman Shevchenko e0589b585f [tests] migrates bytecode analysis tests to light test case
... and moves test data out of source code
2018-09-14 14:45:43 +02:00

27 lines
575 B
Java

package bytecodeAnalysis.data;
// A class to test the clash of the same class in different source paths
// See also ../src/data/TestConflict.java
public class TestConflict {
static native int throwInDataNativeInConflict();
static int nativeInDataThrowInConflict() {
throw new RuntimeException();
}
static int throwBoth() {
throw new RuntimeException();
}
void pureInDataSideEffectInConflict() {
System.out.println();
}
void sideEffectInDataPureInConflict() { }
void pureBoth() { }
void sideEffectBoth() {
System.out.println();
}
}