1e1051a39Sopenharmony_ci#! /usr/bin/env perl
2e1051a39Sopenharmony_ci# Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
3e1051a39Sopenharmony_ci#
4e1051a39Sopenharmony_ci# Licensed under the Apache License 2.0 (the "License").  You may not use
5e1051a39Sopenharmony_ci# this file except in compliance with the License.  You can obtain a copy
6e1051a39Sopenharmony_ci# in the file LICENSE in the source distribution or at
7e1051a39Sopenharmony_ci# https://www.openssl.org/source/license.html
8e1051a39Sopenharmony_ci
9e1051a39Sopenharmony_ciuse strict;
10e1051a39Sopenharmony_ciuse warnings;
11e1051a39Sopenharmony_ci
12e1051a39Sopenharmony_ci# First argument is name;
13e1051a39Sopenharmony_cimy $name = shift @ARGV;
14e1051a39Sopenharmony_cimy $name_uc = uc $name;
15e1051a39Sopenharmony_ci# All other arguments are ignored for now
16e1051a39Sopenharmony_ci
17e1051a39Sopenharmony_ciprint <<"_____";
18e1051a39Sopenharmony_ci/*
19e1051a39Sopenharmony_ci * Generated with test/generate_buildtest.pl, to check that such a simple
20e1051a39Sopenharmony_ci * program builds.
21e1051a39Sopenharmony_ci */
22e1051a39Sopenharmony_ci#include <openssl/opensslconf.h>
23e1051a39Sopenharmony_ci#ifndef OPENSSL_NO_STDIO
24e1051a39Sopenharmony_ci# include <stdio.h>
25e1051a39Sopenharmony_ci#endif
26e1051a39Sopenharmony_ci#ifndef OPENSSL_NO_${name_uc}
27e1051a39Sopenharmony_ci# include <openssl/$name.h>
28e1051a39Sopenharmony_ci#endif
29e1051a39Sopenharmony_ci
30e1051a39Sopenharmony_ciint main(void)
31e1051a39Sopenharmony_ci{
32e1051a39Sopenharmony_ci    return 0;
33e1051a39Sopenharmony_ci}
34e1051a39Sopenharmony_ci_____
35