summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/block-3.c
blob: 95cb6a735c73bba534d4fc688b2941ef3e8901a0 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 
// rdar://10001085

int main() {
  ^{
                __attribute__((__blocks__(byref))) int index = ({ int __a; int __b; __a < __b ? __b : __a; });
   };
}