2020-09-03 05:50:32 +08:00
|
|
|
// RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name casts.c %s | FileCheck %s
|
2014-08-20 01:32:30 +08:00
|
|
|
|
2015-02-04 05:35:49 +08:00
|
|
|
int main() { // CHECK: File 0, [[@LINE]]:12 -> [[@LINE+4]]:2 = #0
|
2017-11-09 10:33:38 +08:00
|
|
|
// CHECK: File 0, [[@LINE+1]]:41 -> [[@LINE+1]]:54 = #1
|
2015-02-04 05:35:49 +08:00
|
|
|
int window_size = (sizeof(int) <= 2 ? (unsigned)512 : 1024); // CHECK-NEXT: File 0, [[@LINE]]:57 -> [[@LINE]]:61 = (#0 - #1)
|
2014-08-20 01:32:30 +08:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|