Add c-family test cases for bad indentation edge case

This commit is contained in:
John Isom 2020-07-27 11:58:01 -06:00
parent 565e3bef1d
commit 2e6e507d42
6 changed files with 28 additions and 0 deletions

View File

@ -10,3 +10,6 @@ void foo(void) {%( )bar()
void foo(void) {
bar()%( )}
void foo(void) {
bar()%( )}

View File

@ -15,3 +15,7 @@ void foo(void) {
void foo(void) {
bar()
}
void foo(void) {
bar()
}

View File

@ -23,3 +23,9 @@
{(
bar()%( ))}
{
bar()%( )}
{(
bar()%( ))}

View File

@ -33,3 +33,11 @@
{(
bar()
)}
{
bar()
}
{(
bar()
)}

View File

@ -10,3 +10,6 @@ if (1) {%( )bar()
if (1) {
bar()%( )}
if (1) {
bar()%( )}

View File

@ -15,3 +15,7 @@ if (1) {
if (1) {
bar()
}
if (1) {
bar()
}