26 lines
		
	
	
		
			335 B
		
	
	
	
		
			C++
		
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			335 B
		
	
	
	
		
			C++
		
	
	
	
// RUN: %clangxx -O0 -g %s -c -o %t.o
 | 
						|
// RUN: %clangxx %t.o -o %t.out
 | 
						|
// RUN: %test_debuginfo %s %t.out 
 | 
						|
 | 
						|
 | 
						|
// DEBUGGER: break 14
 | 
						|
// DEBUGGER: r
 | 
						|
// DEBUGGER: p *this
 | 
						|
// CHECK-NEXT-NOT: Cannot access memory at address 
 | 
						|
 | 
						|
class A {
 | 
						|
public:
 | 
						|
	A() : zero(0), data(42)
 | 
						|
	{
 | 
						|
	}
 | 
						|
private:
 | 
						|
	int zero;
 | 
						|
	int data;
 | 
						|
};
 | 
						|
 | 
						|
int main() {
 | 
						|
	A a;
 | 
						|
	return 0;
 | 
						|
}
 | 
						|
 |