summaryrefslogtreecommitdiff
path: root/tests/preprocessor/file-identity/b.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/b.h
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'tests/preprocessor/file-identity/b.h')
-rw-r--r--tests/preprocessor/file-identity/b.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/preprocessor/file-identity/b.h b/tests/preprocessor/file-identity/b.h
index ba131c653..c6b731349 100644
--- a/tests/preprocessor/file-identity/b.h
+++ b/tests/preprocessor/file-identity/b.h
@@ -3,9 +3,12 @@
#include "c.h"
#ifdef B_H
-# error "Shouldn't be included twice"
+#error "Shouldn't be included twice"
#endif
#define B_H
-float foo(float x) { return x; } \ No newline at end of file
+float foo(float x)
+{
+ return x;
+} \ No newline at end of file