1 // RUN: %clang_cc1 -fsyntax-only -Wunused-value -verify %s
5 a
? : b
; //expected-warning{{expression result unused}}
6 a
? a
: b
; //expected-warning{{expression result unused}}
9 ++a
? : b
; //expected-warning{{expression result unused}}
10 ++a
? a
: b
; //expected-warning{{expression result unused}}