Skip to content

expected a statement #311

Closed
Closed
@mingodad

Description

@mingodad

With this issue solved now I'm getting the error shown bellow (that is a reduced case of this #309 (comment)).

void test()
{
	int i;
	( ({ long __cpu = ((long) i); }));
}
g++ -fsyntax-only test-bloc-in-parens.cpp
# no error
cxx test-bloc-in-parens.cpp
createSourceFile: test-bloc-in-parens.cpp
test-bloc-in-parens.cpp:4:33: expected a statement
	( ({ long __cpu = ((long) i); }));
	                               ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions