1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wdocumentation-unknown-command -verify %s
2 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -Werror -Wno-documentation-unknown-command %s
3 
4 // expected-warning@+1 {{unknown command tag name}}
5 /// aaa \unknown
6 int test_unknown_comand_1;
7 
8 // expected-warning@+1 {{unknown command tag name 'retur'; did you mean 'return'?}}
9 /// \retur aaa
10 int test_unknown_comand_2();
11 
12