/* Test that stray semicolon in old-style parameters is not accepted. */ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-options "" } */ void f(a) int a;; /* { dg-error "parse error|syntax error|expected declaration specifiers" } */ { }