aboutsummaryrefslogtreecommitdiff
path: root/test/safestack/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/safestack/init.c')
-rw-r--r--test/safestack/init.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/safestack/init.c b/test/safestack/init.c
new file mode 100644
index 000000000000..cff75f5f8939
--- /dev/null
+++ b/test/safestack/init.c
@@ -0,0 +1,9 @@
+// RUN: %clang_safestack %s -o %t
+// RUN: %run %t
+
+// Basic smoke test for the runtime library.
+
+int main(int argc, char **argv)
+{
+ return 0;
+}