summaryrefslogtreecommitdiff
path: root/test/files/run/t1459generic/VarargGeneric.java
blob: 9b37a0fe3f2efda6df5aa66f2d15d41985b7aa8d (plain) (blame)
1
2
3
4
5
6
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);
}