From 5060b64b7d79491d507a75201be161fd0c38fcbb Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 26 Apr 2017 19:24:53 +0000 Subject: Vendor import of lldb trunk r301441: https://llvm.org/svn/llvm-project/lldb/trunk@301441 --- packages/Python/lldbsuite/test/lang/c/inlines/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/Python/lldbsuite/test/lang/c/inlines/main.c') diff --git a/packages/Python/lldbsuite/test/lang/c/inlines/main.c b/packages/Python/lldbsuite/test/lang/c/inlines/main.c index e9bd894bf726..f45e4e2b1497 100644 --- a/packages/Python/lldbsuite/test/lang/c/inlines/main.c +++ b/packages/Python/lldbsuite/test/lang/c/inlines/main.c @@ -5,6 +5,11 @@ inline void test2(int) __attribute__ ((always_inline)); void test2(int b) { printf("test2(%d)\n", b); //% self.expect("expression b", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["42"]) + { + int c = b * 2; + printf("c=%d\n", c); //% self.expect("expression b", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["42"]) + //% self.expect("expression c", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["84"]) + } } void test1(int a) { -- cgit v1.2.3