From 1fa0cabf9dd0c2016a60c23bb616f0f39daf1dfd Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 27 Jul 2016 23:26:12 -0700 Subject: remove multiline comments closes #161 --- test/self_hosted.zig | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'test') diff --git a/test/self_hosted.zig b/test/self_hosted.zig index 294887f00c..bb2eec814a 100644 --- a/test/self_hosted.zig +++ b/test/self_hosted.zig @@ -4,22 +4,11 @@ const str = std.str; const cstr = std.cstr; const other = @import("other.zig"); -#attribute("test") -fn empty_function() {} - - - -/** - * multi line doc comment - */ +// normal comment /// this is a documentation comment /// doc comment line 2 #attribute("test") -fn comments() { - comments_f1(/* mid-line comment /* nested */ */ "OK\n"); -} - -fn comments_f1(s: []u8) {} +fn empty_function_with_comments() {} #attribute("test") -- cgit v1.2.3