summaryrefslogtreecommitdiff
path: root/test/files/run/t1459generic/VarargGeneric.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t1459generic/VarargGeneric.java')
-rw-r--r--test/files/run/t1459generic/VarargGeneric.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t1459generic/VarargGeneric.java b/test/files/run/t1459generic/VarargGeneric.java
index c043e39b40..9b37a0fe3f 100644
--- a/test/files/run/t1459generic/VarargGeneric.java
+++ b/test/files/run/t1459generic/VarargGeneric.java
@@ -1,4 +1,7 @@
public interface VarargGeneric<T> {
String genericOne(T x, String args);
+ // we cannot annotate this with @SafeVarargs, because
+ // it's in an interface. so that's why a warning from
+ // javac appears in the checkfile.
String genericVar(T x, String... args);
}