Home | History | Annotate | Download | only in apple_types
      1 //===-- main.c --------------------------------------------------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 int main (int argc, char const *argv[])
     10 {
     11     struct point_tag {
     12         int x;
     13         int y;
     14     }; // Set break point at this line.
     15 
     16     struct rect_tag {
     17         struct point_tag bottom_left;
     18         struct point_tag top_right;
     19     };
     20     struct point_tag pt = { 2, 3 }; // This is the first executable statement.
     21     struct rect_tag rect = {{1,2}, {3,4}};
     22     pt.x = argc;
     23     pt.y = argc * argc;
     24     rect.top_right.x = rect.top_right.x + argc;
     25         rect.top_right.y = rect.top_right.y + argc;
     26     return 0;
     27 }
     28