blob: 707bcc07d0343850d528df40151df7b89399a58d [file] [log] [blame]
Austin Schuh1eb16d12015-09-06 17:21:56 -07001#include <gflags/gflags.h>
2
3DEFINE_string(message, "", "The message to print");
4void print_message(); // in gflags_declare_flags.cc
5
6int main(int argc, char **argv)
7{
8 gflags::SetUsageMessage("Test compilation and use of gflags_declare.h");
9 gflags::ParseCommandLineFlags(&argc, &argv, true);
10 print_message();
11 return 0;
12}