llvm-for-llvmta/tools/clang/test/CodeCompletion/enable-if-attr-crash.cpp

9 lines
219 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
int foo(bool x) __attribute__((enable_if(x, "")));
int test() {
bool fffffff;
// RUN: %clang_cc1 -std=c++11 -code-completion-at=%s:7:8 %s | FileCheck %s
// CHECK: COMPLETION: fffffff : [#bool#]fffffff
foo(ff
}