1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdebugger-objc-literal -emit-llvm -o - %s | FileCheck %s 2 3 int main() { 4 // object literals. 5 id l; 6 l = @'a'; 7 l = @42; 8 l = @-42; 9 l = @42u; 10 l = @3.141592654f; 11 l = @__objc_yes; 12 l = @__objc_no; 13 l = @{ @"name":@666 }; 14 l = @[ @"foo", @"bar" ]; 15 16 #if __has_feature(objc_boxed_expressions) 17 // boxed expressions. 18 id b; 19 b = @('a'); 20 b = @(42); 21 b = @(-42); 22 b = @(42u); 23 b = @(3.141592654f); 24 b = @(__objc_yes); 25 b = @(__objc_no); 26 b = @("hello"); 27 #endif 28 } 29 30 // CHECK: declare i8* @objc_msgSend(i8*, i8*, ...) nonlazybind 31