aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/main.cpp
blob: 219f398da3f589b761369491f1728a54ec9b63f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

typedef int Foo;

int main() {
	int lval = 1;
	Foo* x = &lval;
	Foo& y = lval;
	Foo&& z = 1;
	return 0; // Set breakpoint here
}