summary refs log tree commit diff
path: root/tests/coverage/color.coverage
blob: b12f20204b4ff32170c8a4e3ca442a146b5b3e4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
   LL|       |//@ edition: 2021
   LL|       |//@ ignore-mode-coverage-map
   LL|       |//@ ignore-windows
   LL|       |//@ llvm-cov-flags: --use-color
   LL|       |
   LL|       |// Verify that telling `llvm-cov` to use colored output actually works.
   LL|       |// Ignored on Windows because we can't tell the tool to use ANSI escapes.
   LL|       |
   LL|      1|fn main() {
   LL|      1|    for _i in 0..0 {}
                      ^0         ^0
   LL|      1|}