blob: db0cd8ce18657d565398a01a10c6f5e2bf6ce985 [file] [log] [blame]
Douglas Gregor9b3064b2009-04-01 22:41:11 +00001// RUN: clang-cc -fsyntax-only -pedantic -verify %s
2
3/* This is a test of the various code modification hints that are
4 provided as part of warning or extension diagnostics. Eventually,
5 we would like to actually try to perform the suggested
6 modifications and compile the result to test that no warnings
7 remain. */
8
9struct C1 { };
10struct C2 : virtual public virtual C1 { }; // expected-error{{duplicate}}
11
12template<int Value> struct CT { };
13
14CT<10 >> 2> ct; // expected-warning{{require parentheses}}