The tokens of one doc comment put above `type T struct{}` in package p. */
| 19 | |
| 20 | /* The tokens of one doc comment put above `type T struct{}` in package p. */ |
| 21 | static CBMFileResult *go_doc(const char *comment) { |
| 22 | char src[8192]; |
| 23 | snprintf(src, sizeof(src), "package p\n\n%stype T struct{}\n", comment); |
| 24 | return go_extract(src, "pkg/t.go"); |
| 25 | } |
| 26 | |
| 27 | /* True when the scope blob holds exactly this record line. */ |
| 28 | static bool go_has_rec(const char *scope, const char *rec) { |
no test coverage detected