> Parse/ParseStmt.cpp:/// [OBC]   objc-synchronized-statement  [TODO]

Heh, whoops, missed that :/

> > Assertion failed: (E && "ActOnExprStmt(): missing expression"),
> > function ActOnExprStmt, file SemaStmt.cpp, line 27.

The assertion is real and unrelated, however:

CookieJar:~ keith$ cat test2.m
void foo(id o) { @thisonegoesto11(o) {} }
CookieJar:~ keith$ gcc -Wall -W -fsyntax-only test2.m
test2.m: In function 'foo':
test2.m:1: error: stray '@' in program
test2.m:1: warning: implicit declaration of function 'thisonegoesto11'
test2.m:1: error: syntax error before '{' token
CookieJar:~ keith$ clang -fsyntax-only test2.m
test2.m:1:18: error: unexpected '@' in program
void foo(id o) { @thisonegoesto11(o) {} }
                 ^
test2.m:1:41: error: expected ';' after expression
void foo(id o) { @thisonegoesto11(o) {} }
                                        ^
Assertion failed: (E && "ActOnExprStmt(): missing expression"),
function ActOnExprStmt, file SemaStmt.cpp, line 27.

-Keith
_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to