brintos

brintos / llvm-project-archived public Read only

0
0
Text · 355 B · 997c8c1 Raw
10 lines · c
1// RUN: %clang_cc1 -emit-llvm-only -fprofile-instrument=clang -fcoverage-mcdc -Werror -Wno-unused-value %s -verify2 3int foo(int x);4 5int main(void) {6    int a, b, c;7    a && foo( b && c ); // expected-warning{{unsupported MC/DC boolean expression; contains an operation with a nested boolean expression. Expression will not be covered}}8    return 0;9}10