llvm-project/clang/test/CodeCompletion/end-of-file.cpp

7 lines
252 B
C++

// Check that clang does not crash when completing at the last char in the
// buffer.
// NOTE: This file must *NOT* have newline at the end.
// RUN: %clang_cc1 -code-completion-at=%s:7:2 %s | FileCheck %s
// CHECK: COMPLETION: foo
using foo = int***;
f