1# RUN: %python %S/../../../../examples/python/formatter_bytecode.py --test 2# RUN: %python %S/../../../../examples/python/formatter_bytecode.py --compile "1u dup" | FileCheck %s --check-prefix=COMPILE 3# RUN: %python %S/../../../../examples/python/formatter_bytecode.py --disassemble "200101" | FileCheck %s --check-prefix=DISASSEMBLE 4# COMPILE: 200101 5# DISASSEMBLE: 1u dup 6 7# RUN: %clang_host -std=c++17 -g %S/Inputs/FormatterBytecode/MyOptional.cpp -o %t.exe 8# RUN: %lldb %t.exe -o "command script import %S/../../../../examples/python/formatter_bytecode.py" -o "command script import %S/Inputs/FormatterBytecode/formatter.py" -o "b -p here" -o "r" -o "v x" -o "v y" -o q | FileCheck %s --check-prefix=OPTIONAL 9# OPTIONAL: (lldb) v x 10# OPTIONAL: (MyOptional<int>) x = { 11# OPTIONAL: hasVal = false 12# OPTIONAL: } 13# OPTIONAL: (lldb) v y 14# OPTIONAL: (MyOptional<int>) y = { 15# OPTIONAL: Storage = (value = 42, hasVal = true) 16# OPTIONAL: } 17