blob: da633cf21197ac3f0c8e870cbd8333839a6327a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//TEST:LANG_SERVER(filecheck=CHECK):
// Test that completion candidates are sorted according to context.
enum Fruit { Orange, Apple, Banana }
struct MyType<Fruit v> {}
void test()
{
//COMPLETE:12,12
MyType< // should list `Fruit` first.
}
// CHECK: Fruit:{{.*}}sort(0:Fruit)
|