Skip to content

Commit 18773c6

Browse files
committed
fixup! exercise hasCXXMangling codepath
1 parent aec58c8 commit 18773c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/DebugInfo/CXX/versioned-language.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// RUN: %clang_cc1 -emit-llvm %s -o - -debug-info-kind=limited -dwarf-version=6 -std=c++23 | FileCheck %s --check-prefix=CHECK-CPP23
1111
// RUN: %clang_cc1 -emit-llvm %s -o - -debug-info-kind=limited -dwarf-version=6 -std=c++2c | FileCheck %s --check-prefix=CHECK-CPP2C
1212

13-
int globalVar = 10;
13+
struct Foo {} globalVar;
1414

1515
// CHECK-CPP98: !DICompileUnit(sourceLanguageName: DW_LNAME_C_plus_plus, sourceLanguageVersion: 199711
1616
// FIXME: C++03 technically has no official standard version code. From Clang's point of view C++03 and C++98 are interchangable.

0 commit comments

Comments
 (0)