summaryrefslogtreecommitdiff
path: root/test/CodeCompletion/enable-if-attr-crash.cpp
blob: cca84b28ecfb80a429caa1a3835f6b858b305336 (plain)
1
2
3
4
5
6
7
8
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
}