brintos

brintos / llvm-project-archived public Read only

0
0
Text · 330 B · fc78b7f Raw
20 lines · c
1// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin10 -fblocks %s2// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin10 -fblocks %s3typedef int __attribute__((aligned(32)))  ai;4 5void f(void) {6  __block ai a = 10;7 8  ^{9    a = 20;10  }();11}12 13void g(void) {14  __block double a = 10;15 16  ^{17    a = 20;18  }();19}20