Home | History | Annotate | Download | only in rdar-9974002
      1 //===-- main.cpp ------------------------------------------------*- 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 
     10 #include <stdio.h>
     11 
     12 struct contained
     13 {
     14     int first;
     15     int second;
     16 };
     17 
     18 struct container
     19 {
     20     int scalar;
     21     struct contained *pointer;
     22 };
     23 
     24 int main ()
     25 {
     26     struct container mine = {1, 0};
     27     printf ("Mine's scalar is the only thing that is good: %d.\n", mine.scalar); // Set break point at this line.
     28     return 0;
     29 }
     30 
     31