/* Test structures passed by value, including to a function with a
variable-length argument list. All struct members are scalar
integral types, and the structs are "small": 1, 2, 4, 8, and 12
/* { dg-do compile } */
/* { dg-options "" } */
/* ISO C99 flexible array members don't have a size. GCC's zero-length
array extension does. */
struct f { int w; int x[0]; } f;
struct g { int w
/* Test diagnostics for options used on their own without
-Wformat. -Wformat-zero-length. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-Wformat
/*
* Aaron M. Renn reported a bug in Japhar having string length 17 for
* this string
*/
public class StringTest
{
public static void
main(String[] argv)
{
UnicodeStringLength();
public class PR8866
{
public static void main (String args[])
{
String attTypeString = "";
switch (args.length) {
case 1:
attTypeString = "string";
case 4:
public class PR55 {
// This demonstrates a bug in gcj
public static void main(String[] argv){
int i = 666;
System.out.println("The number "+i+" is "+ (""+i).length() +" digit
public final class PR56 {
public static void main(String[] args) {
Object o = args;
int[] a;
if (!(o instanceof int[]) || (a = (int[])o).length != 2) {
}
}
}