re GNATS gcj/310 (illegal type "long" accepted for "switch" expression)
From PR gcj/310: * libjava.compile/PR310.java: New file. * libjava.compile/PR310.xfail: New file. From-SVN: r35596
This commit is contained in:
parent
253b6b828a
commit
60798ef254
3 changed files with 16 additions and 0 deletions
9
libjava/testsuite/libjava.compile/PR310.java
Normal file
9
libjava/testsuite/libjava.compile/PR310.java
Normal file
|
@ -0,0 +1,9 @@
|
|||
public class PR310
|
||||
{
|
||||
void m (long l)
|
||||
{
|
||||
switch (l)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
1
libjava/testsuite/libjava.compile/PR310.xfail
Normal file
1
libjava/testsuite/libjava.compile/PR310.xfail
Normal file
|
@ -0,0 +1 @@
|
|||
shouldfail
|
Loading…
Add table
Add a link
Reference in a new issue