[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / cross-project-tests / debuginfo-tests / dexter / feature_tests / subtools / test / err_paren.cpp
blobfeb26a73787008a3a9b9d9661467c6d859e06203
1 // Purpose:
2 // Check that parsing bad commands gives a useful error.
3 // - Unbalanced parenthesis
4 // Check directives are in check.txt to prevent dexter reading any embedded
5 // commands.
6 //
7 // Note: Despite using 'lldb' as the debugger, lldb is not actually required
8 // as the test should finish before lldb would be invoked.
9 //
10 // RUN: not %dexter_base test --builder 'clang' --debugger 'lldb' \
11 // RUN: --cflags "-O0 -g" -v -- %s \
12 // RUN: | FileCheck %s --match-full-lines --strict-whitespace
14 // CHECK:parser error:{{.*}}err_paren.cpp(22): Unbalanced parenthesis starting here
15 // CHECK:// {{Dex}}ExpectWatchValue(
16 // CHECK: ^
18 int main(){
19 return 0;
22 // DexExpectWatchValue(