brintos

brintos / llvm-project-archived public Read only

0
0
Text · 403 B · 0011313 Raw
11 lines · c
1// RUN: %clang_cc1 -std=c11 %s -fsyntax-only -verify2// REQUIRES: asserts3 4struct dispatch_object_s;5void _dispatch_queue_get_head(struct dispatch_object_s *volatile dq_items_head) {6  (_Atomic __typeof__(dq_items_head) *)0; // expected-warning{{expression result unused}}7}8void g(void) {9  (_Atomic __typeof__(struct dispatch_object_s *volatile) *)0; // expected-warning{{expression result unused}}10}11