Add dangling_else example

This commit is contained in:
Alex Hirsch 2020-02-13 22:35:00 +01:00
parent 16d8beaab0
commit de49abc455
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
int main()
{
if (true)
if (false)
print("foo");
else
print("bar");
print_nl();
return 0;
}

View File

@ -0,0 +1 @@
bar