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