aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/assert.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/assert.c b/tests/assert.c
new file mode 100644
index 0000000..e57f3e3
--- /dev/null
+++ b/tests/assert.c
@@ -0,0 +1,10 @@
+#include <helpers.h>
+
+static_assert(1);
+static_assert(1, "always true");
+static_assert(1 + 1);
+static_assert(123 == 123);
+static_assert(sizeof(int) == sizeof(unsigned int));
+
+int main() {
+}