diff test/func_conv_err.c @ 622:682c8ec38d45

_code へ
author kono
date Thu, 07 Sep 2006 11:50:17 +0900
parents aad312f61654
children 3f1f6c0610c1
line wrap: on
line diff
--- a/test/func_conv_err.c	Thu Sep 07 11:50:13 2006 +0900
+++ b/test/func_conv_err.c	Thu Sep 07 11:50:17 2006 +0900
@@ -1,5 +1,5 @@
 
-code hoge()
+__code hoge()
 {
     goto hoge(); // ok
 }
@@ -10,25 +10,25 @@
     return 1;
 }
 
-code hoga(int i)
+__code hoga(int i)
 {
     f();   // ok
     h();   // ok h() is a function
     if (i)
 	goto f();  // bad
     else if(i-1)
-	goto g(i);  // ok g() is a code segement
+	goto g(i);  // ok g() is a __code segement
 }    //  need goto bad 
 
 int
-g(int i) {                     // g is already used as code bad
+g(int i) {                     // g is already used as __code bad
     k();
     if (i) 
 	goto h();    // bad
     // should complain.... no return value
 }
 
-code k() {                    // bad k is already used as function
+__code k() {                    // bad k is already used as function
     goto hoge();       // ok
 }