[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / cross-project-tests / debuginfo-tests / dexter / feature_tests / subtools / test / err_duplicate_label.cpp
blob7da69203ea38f1b91f3cabc1079f47d7e183806f
1 // Purpose:
2 // Check that defining duplicate labels gives a useful error message.
3 //
4 // RUN: not %dexter_regression_test -v -- %s | FileCheck %s --match-full-lines
5 //
6 // CHECK: parser error:{{.*}}err_duplicate_label.cpp(11): Found duplicate line label: 'oops'
7 // CHECK-NEXT: {{Dex}}Label('oops')
9 int main() {
10 int result = 0; // DexLabel('oops')
11 return result; // DexLabel('oops')