Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / lang / cpp / dynamic-value-same-basename / main.cpp
blob38e46c03f41edc41304593f06051966f88073a99
1 #include <stdio.h>
3 namespace namesp
5 class Virtual {
6 public:
7 virtual void doSomething() {
8 printf ("namesp function did something.\n");
10 };
13 class Virtual {
14 public:
15 virtual void doSomething() {
16 printf("Virtual function did something.\n");
20 int
21 main()
23 namesp::Virtual my_outer;
24 Virtual my_virtual;
26 // Break here to get started
27 my_outer.doSomething();
28 my_virtual.doSomething();
30 return 0;