1*9356374aSAndroid Build Coastguard Worker // 2*9356374aSAndroid Build Coastguard Worker // Copyright 2019 The Abseil Authors. 3*9356374aSAndroid Build Coastguard Worker // 4*9356374aSAndroid Build Coastguard Worker // Licensed under the Apache License, Version 2.0 (the "License"); 5*9356374aSAndroid Build Coastguard Worker // you may not use this file except in compliance with the License. 6*9356374aSAndroid Build Coastguard Worker // You may obtain a copy of the License at 7*9356374aSAndroid Build Coastguard Worker // 8*9356374aSAndroid Build Coastguard Worker // https://www.apache.org/licenses/LICENSE-2.0 9*9356374aSAndroid Build Coastguard Worker // 10*9356374aSAndroid Build Coastguard Worker // Unless required by applicable law or agreed to in writing, software 11*9356374aSAndroid Build Coastguard Worker // distributed under the License is distributed on an "AS IS" BASIS, 12*9356374aSAndroid Build Coastguard Worker // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*9356374aSAndroid Build Coastguard Worker // See the License for the specific language governing permissions and 14*9356374aSAndroid Build Coastguard Worker // limitations under the License. 15*9356374aSAndroid Build Coastguard Worker 16*9356374aSAndroid Build Coastguard Worker // This file is used to test the mismatch of the flag type between definition 17*9356374aSAndroid Build Coastguard Worker // and declaration. These are definitions. flag_test.cc contains declarations. 18*9356374aSAndroid Build Coastguard Worker #include <string> 19*9356374aSAndroid Build Coastguard Worker #include "absl/flags/flag.h" 20*9356374aSAndroid Build Coastguard Worker 21*9356374aSAndroid Build Coastguard Worker ABSL_FLAG(int, mistyped_int_flag, 0, ""); 22*9356374aSAndroid Build Coastguard Worker ABSL_FLAG(std::string, mistyped_string_flag, "", ""); 23*9356374aSAndroid Build Coastguard Worker ABSL_FLAG(bool, flag_on_separate_file, false, ""); 24*9356374aSAndroid Build Coastguard Worker ABSL_RETIRED_FLAG(bool, retired_flag_on_separate_file, false, ""); 25