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