mirror of
https://github.com/boostorg/spirit.git
synced 2026-01-24 06:22:09 +00:00
16 lines
203 B
Plaintext
16 lines
203 B
Plaintext
/* conjure program with syntax error */
|
|
|
|
int foo(n)
|
|
{
|
|
int a = 2;
|
|
if (n @ 3) /* we don't have @ operator in conjure */
|
|
{
|
|
a = 3
|
|
}
|
|
return a;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
return foo(10);
|
|
} |