no-fixit.cpp 288 B

12345678910111213
  1. // RUN: not %clang_cc1 -fdiagnostics-parseable-fixits -x c++ -std=c++11 %s 2>&1 | FileCheck %s
  2. // test that the diagnostics produced by this code do not include fixit hints
  3. // CHECK-NOT: fix-it:
  4. template<template<typename> +> void func();
  5. struct {
  6. void i() {
  7. (void)&i;
  8. }
  9. } x;