1 // RUN: %clang_cc1 -fsyntax-only -verify < %s
2 // expected-no-diagnostics
4 typedef struct _NSPoint
{ CGFloat x
; CGFloat y
; } NSPoint
;
5 typedef struct _NSSize
{ CGFloat width
; CGFloat height
; } NSSize
;
6 typedef struct _NSRect
{ NSPoint origin
; NSSize size
; } NSRect
;
8 extern const NSPoint NSZeroPoint
;
10 extern NSSize
canvasSize(void);
12 const NSRect canvasRect
= { NSZeroPoint
, canvasSize() };