summaryrefslogtreecommitdiffstats
path: root/regress/usr.bin/ctfdump/example.c
diff options
context:
space:
mode:
authoruwe <uwe@openbsd.org>2017-08-14 20:14:56 +0000
committeruwe <uwe@openbsd.org>2017-08-14 20:14:56 +0000
commitcd676757fff64768e212b9e00fff720f33b85a04 (patch)
treeefe26247831aeb7e64a798b2573f5bd09bd19c1e /regress/usr.bin/ctfdump/example.c
parentsimplify LABEL extraction; from tb@ (diff)
downloadwireguard-openbsd-cd676757fff64768e212b9e00fff720f33b85a04.tar.xz
wireguard-openbsd-cd676757fff64768e212b9e00fff720f33b85a04.zip
Add a very basic test for ctfdump(1) on amd64
If the output of ctfdump(1) is correct, it would imply that ctfconv(1) and ctfstrip(1) also worked as expected, at least to some extent. :) ok mpi, bluhm
Diffstat (limited to 'regress/usr.bin/ctfdump/example.c')
-rw-r--r--regress/usr.bin/ctfdump/example.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/regress/usr.bin/ctfdump/example.c b/regress/usr.bin/ctfdump/example.c
new file mode 100644
index 00000000000..2b864d1f795
--- /dev/null
+++ b/regress/usr.bin/ctfdump/example.c
@@ -0,0 +1,13 @@
+/* base types */
+int i;
+long l;
+long long ll;
+float f;
+double d;
+long double ld;
+
+int
+main(int argc, char *argv[])
+{
+ return 0;
+}