gnu-indent: add test

Closes #35310.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>