aboutsummaryrefslogtreecommitdiff
path: root/tests/priv_hello
diff options
context:
space:
mode:
Diffstat (limited to 'tests/priv_hello')
-rw-r--r--tests/priv_hello/check.mk1
-rw-r--r--tests/priv_hello/import/priv_hello.ek1
-rw-r--r--tests/priv_hello/priv_hello.ek7
-rw-r--r--tests/priv_hello/source.mk1
4 files changed, 10 insertions, 0 deletions
diff --git a/tests/priv_hello/check.mk b/tests/priv_hello/check.mk
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/tests/priv_hello/check.mk
@@ -0,0 +1 @@
+
diff --git a/tests/priv_hello/import/priv_hello.ek b/tests/priv_hello/import/priv_hello.ek
new file mode 100644
index 0000000..970efcd
--- /dev/null
+++ b/tests/priv_hello/import/priv_hello.ek
@@ -0,0 +1 @@
+hello(){}
diff --git a/tests/priv_hello/priv_hello.ek b/tests/priv_hello/priv_hello.ek
new file mode 100644
index 0000000..fe6fa86
--- /dev/null
+++ b/tests/priv_hello/priv_hello.ek
@@ -0,0 +1,7 @@
+import "import/priv_hello.ek"
+
+main()
+{
+ /* expect this to fail */
+ hello();
+}
diff --git a/tests/priv_hello/source.mk b/tests/priv_hello/source.mk
new file mode 100644
index 0000000..b2160b2
--- /dev/null
+++ b/tests/priv_hello/source.mk
@@ -0,0 +1 @@
+SIMPLE_XFAIL += priv_hello,'no such symbol'