diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-07-13 10:42:08 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-07-13 10:42:08 -0700 |
commit | 9df8f8ae9e36cf1c04929b7b0d2bdfb6fd2f360f (patch) | |
tree | 44cc063799793b543f7cff14df8ac79918e4a77a /test/files/pos | |
parent | 02c3bac0b2c534ff8a8bbdb544034bf68a0be334 (diff) | |
parent | 0b19aba1b9636c0f092c316892f55f1f8b4bd94e (diff) | |
download | scala-9df8f8ae9e36cf1c04929b7b0d2bdfb6fd2f360f.tar.gz scala-9df8f8ae9e36cf1c04929b7b0d2bdfb6fd2f360f.tar.bz2 scala-9df8f8ae9e36cf1c04929b7b0d2bdfb6fd2f360f.zip |
Merge pull request #4621 from retronym/ticket/9393
SI-9393 Temporarily disable two assertions in GenBCode
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t9393/Named.java | 3 | ||||
-rw-r--r-- | test/files/pos/t9393/NamedImpl.java | 15 | ||||
-rw-r--r-- | test/files/pos/t9393/test.scala | 3 |
3 files changed, 21 insertions, 0 deletions
diff --git a/test/files/pos/t9393/Named.java b/test/files/pos/t9393/Named.java new file mode 100644 index 0000000000..144ddbf26e --- /dev/null +++ b/test/files/pos/t9393/Named.java @@ -0,0 +1,3 @@ +package bug; + +public @interface Named {} diff --git a/test/files/pos/t9393/NamedImpl.java b/test/files/pos/t9393/NamedImpl.java new file mode 100644 index 0000000000..7918739c2b --- /dev/null +++ b/test/files/pos/t9393/NamedImpl.java @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> + */ +package bug; + +import bug.Named; +import java.io.Serializable; +import java.lang.annotation.Annotation; + +public class NamedImpl implements Named { + + public Class<? extends Annotation> annotationType() { + return null; + } +} diff --git a/test/files/pos/t9393/test.scala b/test/files/pos/t9393/test.scala new file mode 100644 index 0000000000..4df0476c98 --- /dev/null +++ b/test/files/pos/t9393/test.scala @@ -0,0 +1,3 @@ +class C { + new bug.NamedImpl +} |