1 //===-- main.m ---------------------------------------------------*- ObjC -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
9 #import <Foundation/Foundation.h>
12 NSDictionary* dic = @{@1 : @2};
13 NSLog(@"hello world"); //% dic = self.frame().FindVariable("dic")
14 //% dic.SetPreferSyntheticValue(True)
15 //% dic.SetPreferDynamicValue(lldb.eDynamicCanRunTarget)
16 //% dic.SetValueFromCString("12")
17 return 0; //% dic = self.frame().FindVariable("dic")
18 //% self.assertTrue(dic.GetValueAsUnsigned() == 0xC, "failed to read what I wrote")