xref: /minix3/external/bsd/llvm/dist/clang/test/FixIt/no-fixit.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: not %clang_cc1 -fdiagnostics-parseable-fixits -x c++ -std=c++11 %s 2>&1 | FileCheck %s
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc // test that the diagnostics produced by this code do not include fixit hints
4*f4a2713aSLionel Sambuc 
5*f4a2713aSLionel Sambuc // CHECK-NOT: fix-it:
6*f4a2713aSLionel Sambuc 
7*f4a2713aSLionel Sambuc template<template<typename> +> void func();
8*f4a2713aSLionel Sambuc 
9*f4a2713aSLionel Sambuc struct {
i__anon5b2788b7010810*f4a2713aSLionel Sambuc   void i() {
11*f4a2713aSLionel Sambuc     (void)&i;
12*f4a2713aSLionel Sambuc   }
13*f4a2713aSLionel Sambuc } x;
14