summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/ignore-artificial-constructors/main.cpp
blob: 41457ebe1dad7959a7aeb08e656610d8bf3e76d0 (plain)
1
2
3
4
5
6
7
8
9
10
struct Foo {
  // Triggers that we emit an artificial constructor for Foo.
  virtual ~Foo() = default;
};

int main() {
  Foo f;
  // Try to construct foo in our expression.
  return 0; //%self.expect("expr Foo()", substrs=["(Foo) $0 = {}"])
}
OpenPOWER on IntegriCloud