chiark / gitweb /
Transpose directories
[subdirmk.git] / lib / t / toytest.c
diff --git a/lib/t/toytest.c b/lib/t/toytest.c
deleted file mode 100644 (file)
index aa03e1e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * subdirmk - example code
- *  Copyright 2019 Mark Wooding
- * SPDX-License-Identifier: LGPL-2.0-or-later
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "toylib.h"
-
-int main(void)
-{
-  const char *p;
-
-  p = greeting();
-  if (STRNCMP(p, !=, "Hello", 5)) {
-    fprintf(stderr, "greeting `%s' has bad salutation\n", p);
-    exit(1);
-  }
-  printf("all ok\n");
-  return (0);
-}