blob: cb4bdb9c16b422774d4fd627163e9ce8027aa0e9 [file] [log] [blame]
//===-- main.c --------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
int main (int argc, char const *argv[])
{
struct point_tag {
int x;
int y;
}; // Set break point at this line.
struct rect_tag {
struct point_tag bottom_left;
struct point_tag top_right;
};
struct point_tag pt = { 2, 3 }; // This is the first executable statement.
struct rect_tag rect = {{1,2}, {3,4}};
pt.x = argc;
pt.y = argc * argc;
rect.top_right.x = rect.top_right.x + argc;
rect.top_right.y = rect.top_right.y + argc;
return 0;
}