mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Reinstate program incorrectly deleted in last commit.
This commit is contained in:
@ -110,6 +110,9 @@ test-suite config
|
||||
[ compile header_deprecated_test.cpp ]
|
||||
;
|
||||
|
||||
obj has_clang_implicit_fallthrough : cmd_line_check.cpp :
|
||||
<toolset>clang:<cxxflags>"-std=c++11 -Wimplicit-fallthrough" <warnings-as-errors>on <warnings>all ;
|
||||
|
||||
explicit has_clang_implicit_fallthrough ;
|
||||
|
||||
exe config_info_printer : config_info.cpp ;
|
||||
|
15
test/cmd_line_check.cpp
Normal file
15
test/cmd_line_check.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
// Copyright 2014 John Maddock.
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
//
|
||||
// See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
#ifndef __clang__
|
||||
# error "This test is for Clang only"
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user