summaryrefslogtreecommitdiffstats
path: root/tests/cpp-compiler/c-compile-link-error.c
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/cpp-compiler/c-compile-link-error.c
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'tests/cpp-compiler/c-compile-link-error.c')
-rw-r--r--tests/cpp-compiler/c-compile-link-error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cpp-compiler/c-compile-link-error.c b/tests/cpp-compiler/c-compile-link-error.c
index 08b93a38b..406f9cefb 100644
--- a/tests/cpp-compiler/c-compile-link-error.c
+++ b/tests/cpp-compiler/c-compile-link-error.c
@@ -1,12 +1,12 @@
-//TEST(smoke):CPP_COMPILER_EXECUTE:
+// TEST(smoke):CPP_COMPILER_EXECUTE:
-#include <stdlib.h>
#include <stdio.h>
+#include <stdlib.h>
extern int thing;
int main(int argc, char** argv)
{
printf("Hello World %d!\n", thing);
- return 0;
+ return 0;
}