brintos

brintos / llvm-project-archived public Read only

0
0
Text · 407 B · 2dad28d Raw
26 lines · cpp
1// RUN: not %clang_cc1 -fdiagnostics-parseable-fixits -x c++ -std=c++11 %s 2>&1 | FileCheck %s2 3// test that the diagnostics produced by this code do not include fixit hints4 5// CHECK-NOT: fix-it:6 7template<template<typename> +> void func();8 9struct {10  void i() {11    (void)&i;12  }13} x;14 15namespace dotPointerDestructor {16 17struct Bar {18  ~Bar() = delete;19};20 21void bar(Bar *o) {22  o.~Bar(); // no fixit23}24 25}26