xref: /llvm-project/clang/test/CodeCompletion/comments.cpp (revision cf9b25e0adc42546e4dc5ff51ee8674d45bac26b)
1 // Note: the run lines follow their respective tests, since line/column
2 // matter in this test.
3 
4 #include "comments.h"
5 
6 struct A {
7   // <- code completion
8   /* <- code completion */
9 };
10 
11 // RUN: %clang_cc1 -I %S/Inputs -fsyntax-only -code-completion-at=%s:%(line-4):6 %s
12 // RUN: %clang_cc1 -I %S/Inputs -fsyntax-only -code-completion-at=%s:%(line-4):6 %s
13 // RUN: %clang_cc1 -I %S/Inputs -fsyntax-only -code-completion-at=%S/Inputs/comments.h:3:6 %s
14