1 // RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep ret | grep {\\-1} | count 1
2 // RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep ret | grep {0} | count 1
3 // RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep ret | grep {8} | count 1
6 return __builtin_object_size(d
, 0);
10 return __builtin_object_size(d
, 2);
15 return __builtin_object_size(buf
, 0);