llvm-project/clang/test/Sema/i-c-e3.c

4 lines
144 B
C

// RUN: clang %s -fsyntax-only -verify -pedantic
int a() {int p; *(1 ? &p : (void*)(0 && (a(),1))) = 10;} // expected-error {{not assignable}}