[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / FixIt / no-fixit.cpp
blob2dad28d3579b76ecc1aaa847cd2ca7c4034a74eb
1 // RUN: not %clang_cc1 -fdiagnostics-parseable-fixits -x c++ -std=c++11 %s 2>&1 | FileCheck %s
3 // test that the diagnostics produced by this code do not include fixit hints
5 // CHECK-NOT: fix-it:
7 template<template<typename> +> void func();
9 struct {
10 void i() {
11 (void)&i;
13 } x;
15 namespace dotPointerDestructor {
17 struct Bar {
18 ~Bar() = delete;
21 void bar(Bar *o) {
22 o.~Bar(); // no fixit