| Rafael Espindola | 925213b | 2013-07-04 16:16:58 +0000 | [diff] [blame] | 1 | // RUN: not %clang_cc1 -fdiagnostics-parseable-fixits -x c++ -std=c++11 %s 2>&1 | FileCheck %s | 
| David Blaikie | cbd8125 | 2012-04-06 05:26:43 +0000 | [diff] [blame] | 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(); | ||||
| David Blaikie | c2ff8e1 | 2012-10-11 22:55:07 +0000 | [diff] [blame] | 8 | |
| 9 | struct { | ||||
| 10 | void i() { | ||||
| 11 | (void)&i; | ||||
| 12 | } | ||||
| 13 | } x; | ||||