Skip to content

Commit 8b5fa48

Browse files
committed
[clangd] Add test for GH75115
Add test for #75115
1 parent 2e45326 commit 8b5fa48

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// RUN: rm -rf %t.dir && mkdir -p %t.dir
2+
// RUN: echo '[{"directory": "%/t.dir", "command": "clang --target=x86_64-pc-windows-msvc -x c GH75115.test", "file": "GH75115.test"}]' > %t.dir/compile_commands.json
3+
// RUN: not --crash clangd -enable-config=0 --compile-commands-dir=%t.dir -check=%s 2>&1 | FileCheck -strict-whitespace %s
4+
5+
// FIXME: Crashes
6+
7+
// CHECK: Building preamble...
8+
// CHECK-NEXT: Built preamble
9+
// CHECK-NEXT: Indexing headers...
10+
// CHECK-NEXT: !KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val, TombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!"
11+
12+
#define assert

0 commit comments

Comments
 (0)