forked from OSchip/llvm-project
parent
af066d818c
commit
a611b45806
|
@ -83,7 +83,7 @@ void t5() {
|
|||
int fn1() __attribute__ ((warn_unused_result));
|
||||
int fn2() __attribute__ ((pure));
|
||||
int fn3() __attribute__ ((const));
|
||||
|
||||
// rdar://6587766
|
||||
int t6() {
|
||||
if (fn1() < 0 || fn2(2,1) < 0 || fn3(2) < 0) // no warnings
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue