xref: /llvm-project/clang/test/CodeCompletion/end-of-file.cpp (revision cf9b25e0adc42546e4dc5ff51ee8674d45bac26b)
1 // Check that clang does not crash when completing at the last char in the
2 // buffer.
3 // NOTE: This file must *NOT* have newline at the end.
4 // RUN: %clang_cc1 -code-completion-at=%s:%(line+3):2 %s | FileCheck %s
5 // CHECK: COMPLETION: foo
6 using foo = int***;
7 f