1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -verify %s 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s 3*f4a2713aSLionel Sambuc // RUN: cp %s %t 4*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -fixit %t 5*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -Wdocumentation -Werror %t 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambuc struct a { 8*f4a2713aSLionel Sambuc int x; //< comment // expected-warning {{not a Doxygen trailing comment}} 9*f4a2713aSLionel Sambuc int y; /*< comment */ // expected-warning {{not a Doxygen trailing comment}} 10*f4a2713aSLionel Sambuc }; 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc // CHECK: fix-it:"{{.*}}":{8:10-8:13}:"///<" 13*f4a2713aSLionel Sambuc // CHECK: fix-it:"{{.*}}":{9:10-9:13}:"/**<" 14*f4a2713aSLionel Sambuc 15