blob: c156ae556a7145105fc1ea46fbe6cd730fe72e46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# RUN: %lldb -b -s %s | FileCheck %s
expression int i; __typeof__(i) j = 1; j
# CHECK: (lldb) expression int i; __typeof__(i) j = 1; j
# CHECK-NEXT: (typeof (i)) {{.*}} = 1
expression int i; typeof(i) j = 1; j
# CHECK: (lldb) expression int i; typeof(i) j = 1; j
# CHECK-NEXT: (typeof (i)) {{.*}} = 1
expression int i; decltype(i) j = 1; j
# CHECK: (lldb) expression int i; decltype(i) j = 1; j
# CHECK-NEXT: (decltype(i)) {{.*}} = 1
|