File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
lldb/test/Shell/SymbolFile/DWARF Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ // XFAIL: *
2
+
3
+ // Tests that we correctly deduce the CV-quals and storage
4
+ // class of explicit object member functions.
5
+ //
6
+ // RUN: %clangxx_host %s -g -std=c++23 -c -o %t
7
+ // RUN: %lldb %t -b -o "type lookup Foo" 2>&1 | FileCheck %s
8
+ //
9
+ // CHECK: (lldb) type lookup Foo
10
+ // CHECK-NEXT: struct Foo {
11
+ // CHECK-NEXT: void Method(Foo);
12
+ // CHECK-NEXT: void cMethod(Foo const&);
13
+ // CHECK-NEXT: void vMethod(Foo volatile&);
14
+ // CHECK-NEXT: void cvMethod(const Foo volatile&) const volatile;
15
+ // CHECK-NEXT: }
16
+
17
+ struct Foo {
18
+ void Method (this Foo) {}
19
+ void cMethod (this Foo const &) {}
20
+ void vMethod (this Foo volatile &) {}
21
+ void cvMethod (this Foo const volatile &) {}
22
+ } f;
You can’t perform that action at this time.
0 commit comments