summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/objc-literal-debugger-test.m
blob: 389ef2248a48113ad2137975c507af6fdd400885 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdebugger-objc-literal -emit-llvm -o - %s | FileCheck %s

int main() {
  id l = @'a';
  l = @'a';
  l = @42;
  l = @-42;
  l = @42u;
  l = @3.141592654f;
  l = @__objc_yes;
  l = @__objc_no;
  l = @{ @"name":@666 };
  l = @[ @"foo", @"bar" ];
}

// CHECK: declare i8* @objc_msgSend(i8*, i8*, ...) nonlazybind