view clang/test/CodeCompletion/enable-if-attr-crash.cpp @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1f2b6ac9f198
children
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:%(line+2):8 %s | FileCheck %s
  // CHECK: COMPLETION: fffffff : [#bool#]fffffff
  foo(ff
}