brintos

brintos / llvm-project-archived public Read only

0
0
Text · 332 B · eb7c985 Raw
20 lines · c
1// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks2// expected-no-diagnostics3 4int printf(const char *, ...);5void _Block_byref_release(void*src){}6 7int main(void) {8   __block  int X = 1234;9   __block  const char * message = "HELLO";10 11   X = X - 1234;12 13   X += 1;14 15   printf ("%s(%d)\n", message, X);16   X -= 1;17 18   return X;19}20