aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/doc/src/gazonk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/erl_docgen/doc/src/gazonk')
-rw-r--r--lib/erl_docgen/doc/src/gazonk17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/erl_docgen/doc/src/gazonk b/lib/erl_docgen/doc/src/gazonk
new file mode 100644
index 0000000000..1cf0b8f7bc
--- /dev/null
+++ b/lib/erl_docgen/doc/src/gazonk
@@ -0,0 +1,17 @@
+This example code is used in block_tags.xml.
+
+%% Erlang example
+-module(gazonk).
+
+start() ->
+ {error,"Pid required!"}.
+
+start(Pid) ->
+ spawn(smalltalk,main,[]).
+%% Erlang example
+
+// A little C example
+int main() {
+ for(;;);
+}
+// A little C example