* fi.po: Update.
[official-gcc.git] / gcc / testsuite / objc.dg / naming-1.m
blob3528961bf6d591bfcdbcd2d5885e110a3a43d7cc
1 /* Test for obscuring of @interfaces with local vars.  */
2 /* Author: Ziemowit Laski <zlaski@apple.com>.  */
3 /* { dg-do compile } */
5 @interface View
6 @end
8 void foo(void)
10         int View;       /* ok */
11         View = 1;       /* ok */
12         View *view;     /* { dg-error "undeclared|only once|it appears" } */
15 void bar(void)
17         View *view;     /* ok */
18         View = 1;       /* { dg-error "parse error|syntax error|expected" } */