diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-07-27 23:26:12 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-07-27 23:26:12 -0700 |
| commit | 1fa0cabf9dd0c2016a60c23bb616f0f39daf1dfd (patch) | |
| tree | ed50dd2790c0e12cad2b20071766089b18f386cc /test | |
| parent | 8552d7fd19836f3350b7303f9bd897708b966805 (diff) | |
| download | zig-1fa0cabf9dd0c2016a60c23bb616f0f39daf1dfd.tar.gz zig-1fa0cabf9dd0c2016a60c23bb616f0f39daf1dfd.zip | |
remove multiline comments
closes #161
Diffstat (limited to 'test')
| -rw-r--r-- | test/self_hosted.zig | 15 |
1 files changed, 2 insertions, 13 deletions
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") |
