1 // RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify=expected,both %s
2 // RUN: %clang_cc1 -verify=ref,both %s
6 static_assert(a, ""); // both-error {{static assertion expression is not an integral constant expression}}
12 constexpr NSString *t0 = @"abc";
13 constexpr NSString *t1 = @("abc");
17 typedef unsigned long NSUInteger;
18 typedef long NSInteger;
20 typedef unsigned int NSUInteger;
21 typedef int NSInteger;
29 + (NSObject*)nsobject;
32 @interface NSNumber : NSObject
33 + (NSNumber *)numberWithInt:(int)value;
37 NSNumber *bv = @(1391126400 * 1000); // both-warning {{overflow in expression; result is -443'003'904 with type 'int'}}