summaryrefslogtreecommitdiffstats
path: root/tools/lint/test/files/clang-format/bad/bad2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/test/files/clang-format/bad/bad2.c')
-rw-r--r--tools/lint/test/files/clang-format/bad/bad2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/lint/test/files/clang-format/bad/bad2.c b/tools/lint/test/files/clang-format/bad/bad2.c
new file mode 100644
index 0000000000..9792e85071
--- /dev/null
+++ b/tools/lint/test/files/clang-format/bad/bad2.c
@@ -0,0 +1,8 @@
+#include "bad2.h"
+
+
+int bad2() {
+ int a =2;
+ return a;
+
+}