9 lines · cpp
1int foo(bool x) __attribute__((enable_if(x, "")));2 3int test() {4 bool fffffff;5 // RUN: %clang_cc1 -std=c++11 -code-completion-at=%s:%(line+2):8 %s | FileCheck %s6 // CHECK: COMPLETION: fffffff : [#bool#]fffffff7 foo(ff8}9 1int foo(bool x) __attribute__((enable_if(x, "")));2 3int test() {4 bool fffffff;5 // RUN: %clang_cc1 -std=c++11 -code-completion-at=%s:%(line+2):8 %s | FileCheck %s6 // CHECK: COMPLETION: fffffff : [#bool#]fffffff7 foo(ff8}9