[AMDGPU] Add True16 register classes.
[llvm-project.git] / lldb / test / API / lang / cpp / virtual-overload / main.cpp
blob79c482352f93b5b37b078dd7d4522c278fc3f3f2
1 // Test that lldb doesn't get confused by an overload of a virtual
2 // function of the same name.
3 struct Base {
4 virtual void f(int i) {}
5 virtual ~Base() {}
6 };
8 struct Derived : Base {
9 virtual void f(int i, int j) {}
12 int main(int argc, char **argv) {
13 Derived obj;
14 obj.f(1, 2); //% self.expect("fr var", "not crashing", substrs = ["obj"])
15 return 0;