aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--exercises/functions/functions1/main.go9
-rw-r--r--info.toml8
2 files changed, 17 insertions, 0 deletions
diff --git a/exercises/functions/functions1/main.go b/exercises/functions/functions1/main.go
new file mode 100644
index 0000000..9ad8e8a
--- /dev/null
+++ b/exercises/functions/functions1/main.go
@@ -0,0 +1,9 @@
+// functions1
+// Make me compile!
+
+// I AM NOT DONE
+package main
+
+func main() {
+ call_me()
+}
diff --git a/info.toml b/info.toml
index 956fb43..d627ebc 100644
--- a/info.toml
+++ b/info.toml
@@ -11,3 +11,11 @@ path = "exercises/variables/variables2/main.go"
mode = "compile"
hint = """
It is missing a symbol used to declare and initialize variables."""
+
+[[exercises]]
+name = "functions1"
+path = "exercises/functions/functions1/main.go"
+mode = "compile"
+hint = """
+The main function is calling another function that it expects to exist.
+It expects a function named `call_me` to exist and receive no arguments."""