// RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-macosx10.9 -verify %s
typedef struct BOXABLE _NSPoint NSPoint;
typedef struct BOXABLE _NSSize NSSize;
typedef struct BOXABLE _NSRect NSRect;
typedef struct BOXABLE _CGPoint CGPoint;
typedef struct BOXABLE _CGSize CGSize;
typedef struct BOXABLE _CGRect CGRect;
typedef struct BOXABLE _NSRange NSRange;
typedef struct BOXABLE _NSEdgeInsets NSEdgeInsets;
typedef struct BOXABLE _NSEdgeInsets NSEdgeInsets;
typedef struct _SomeStruct SomeStruct;
;
void
int
CGRect
SomeStruct
void
id // expected-error{{non-trivially copyable type 'NonTriviallyCopyable' cannot be used in a boxed expression}}
void
id
id // expected-error{{non-trivially copyable type 'NonTriviallyCopyable' cannot be used in a boxed expression}}
void