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