view clang/test/CodeCompletion/enable-if-attr-crash.cpp @ 165:597b3f1c2c93

fix call createTailCallEliminationPass
author anatofuz
date Tue, 24 Mar 2020 15:30:52 +0900
parents 1d019706d866
children 1f2b6ac9f198
line wrap: on
line source

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
}