1 //===-- main.cpp ------------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
29 BagOfFloats(float X) :
48 struct EmptyStruct {};
52 BagOfInts *some_values;
57 Plenty(int N, bool flagA, bool flagB) :
58 some_values(new BagOfInts(N)),
61 bitfield( (flagA ? 0x01 : 0x00) | (flagB ? 0x10 : 0x00) )
63 for (int j = 0; j < N; j++)
68 int main (int argc, const char * argv[])
71 BagOfFloats float_bag(2.71);
76 Plenty plenty_of_stuff(5,true,false);
78 plenty_of_stuff.bitfield = 0x11; // Set break point at this line.