summaryrefslogtreecommitdiff
path: root/tests/preprocessor/file-identity/c.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-29 14:49:26 +0800
committerGitHub <noreply@github.com>2024-10-29 14:49:26 +0800
commitf65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch)
treeea1d61342cd29368e19135000ec2948813096205 /tests/preprocessor/file-identity/c.h
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'tests/preprocessor/file-identity/c.h')
-rw-r--r--tests/preprocessor/file-identity/c.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/preprocessor/file-identity/c.h b/tests/preprocessor/file-identity/c.h
index eb6cd1c42..bb8e1c698 100644
--- a/tests/preprocessor/file-identity/c.h
+++ b/tests/preprocessor/file-identity/c.h
@@ -3,9 +3,12 @@
#include "b.h"
#ifdef C_H
-# error "c.h shouldn't be included twice"
+#error "c.h shouldn't be included twice"
#endif
#define C_H
-float bar(float x) { return x; } \ No newline at end of file
+float bar(float x)
+{
+ return x;
+} \ No newline at end of file