diff options
Diffstat (limited to 'libjava/testsuite/libjava.compile/PR19295.java')
-rw-r--r-- | libjava/testsuite/libjava.compile/PR19295.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR19295.java b/libjava/testsuite/libjava.compile/PR19295.java new file mode 100644 index 0000000..336f7e9 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR19295.java @@ -0,0 +1,16 @@ +public class PR19295 implements myInterface { + public long tagBits = 0; + + public final boolean isArrayType() { + return (tagBits & IsArrayType) != 0; + } +} + +abstract class blah { + public final static int Bit1 = 0x2; +} + +interface myInterface { + long IsArrayType = blah.Bit1; +} + |