summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/multiline-comment-line-tracking.rs
blob: d4735e8a7381d8d086ce5b414da030d211f3812e (plain)
1
2
3
4
5
6
7
8
9
// Parse error on line X, but is reported on line Y instead.

/* 1
 * 2
 * 3
 */
fn main() {
  %; //~ ERROR expected expression, found `%`
}