summaryrefslogtreecommitdiff
path: root/tests/void_cast.c
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2023-07-26 10:53:27 -0700
committerMatthew Sotoudeh <matthew@masot.net>2023-07-26 10:53:27 -0700
commitf35b7e32809c5d54850ce75c4dad1a8598235cf0 (patch)
treea741ac273b8109db35b2abd59423a5efe6293a04 /tests/void_cast.c
parent36fc249a02eb0ef32d3bc1d4e596683b64b1eb5f (diff)
simplify code a fair bit
Diffstat (limited to 'tests/void_cast.c')
-rw-r--r--tests/void_cast.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/void_cast.c b/tests/void_cast.c
new file mode 100644
index 0000000..d559b2a
--- /dev/null
+++ b/tests/void_cast.c
@@ -0,0 +1,5 @@
+int main() {
+ int x;
+ (void)x;
+ return 0;
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback