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