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