1 //===-- main.cpp ------------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
30 BagOfFloats(float X) :
49 struct EmptyStruct {};
53 BagOfInts *some_values;
58 Plenty(int N, bool flagA, bool flagB) :
59 some_values(new BagOfInts(N)),
62 bitfield( (flagA ? 0x01 : 0x00) | (flagB ? 0x10 : 0x00) )
64 for (int j = 0; j < N; j++)
69 int main (int argc, const char * argv[])
72 BagOfFloats float_bag(2.71);
77 Plenty plenty_of_stuff(5,true,false);
79 plenty_of_stuff.bitfield = 0x11; // Set break point at this line.