7921021e45e28e87ca0770ed8319c13ba09ce8c8
[openssl.git] / test / generate_buildtest.pl
1 #! /usr/bin/env perl
2 # Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the OpenSSL license (the "License").  You may not use
5 # this file except in compliance with the License.  You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9 use strict;
10 use warnings;
11
12 # First argument is name;
13 my $name = shift @ARGV;
14 # All other arguments are ignored for now
15
16 print <<"_____";
17 /*
18  * Generated with test/generate_buildtest.pl, to check that such a simple
19  * program builds.
20  */
21 #include <openssl/$name.h>
22
23 int main()
24 {
25     return 0;
26 }
27 _____