Commit Diff


commit - 425857d4ed72c6e8567c39b17680a100acaad7f8
commit + 4b0bcc854725c71590df2786768009a5bf26027e
blob - 53d5a3278383d586149166ab5b50293a690173ec
blob + aee9628bdfde43a9f21d2d3e91ce6d3567462693
--- cc/cc1/cc1.c
+++ cc/cc1/cc1.c
@@ -224,7 +224,7 @@ decl (global)
 	}
 
 	if (!dtype (&dt)) {
-		if (global) {
+		if (global || sc != SC_NONE) {
 			dt.type = DT_INT;	// implicit int
 			ii = 1;
 		} else {
blob - 1fdaf030ff9193febb6e3df5e20c3be35242aa55
blob + 5214b99bdcf8c37d707fd52884a8398dee10d032
--- cc/cc1/test.c
+++ cc/cc1/test.c
@@ -1,4 +1,7 @@
+extern a, h ();
 
+typedef x;
+
 x, y, f ();
 int z;