tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

c_header_test.c (1313B)


      1 // Copyright 2024 The Abseil Authors
      2 //
      3 // Licensed under the Apache License, Version 2.0 (the "License");
      4 // you may not use this file except in compliance with the License.
      5 // You may obtain a copy of the License at
      6 //
      7 //     https://www.apache.org/licenses/LICENSE-2.0
      8 //
      9 // Unless required by applicable law or agreed to in writing, software
     10 // distributed under the License is distributed on an "AS IS" BASIS,
     11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 // See the License for the specific language governing permissions and
     13 // limitations under the License.
     14 
     15 #ifdef __cplusplus
     16 #error This is a C compile test
     17 #endif
     18 
     19 // This test ensures that headers that are included in legacy C code are
     20 // compatible with C. Abseil is a C++ library. We do not desire to expand C
     21 // compatibility or keep C compatibility forever. This test only exists to
     22 // ensure C compatibility until it is no longer required. Do not add new code
     23 // that requires C compatibility.
     24 #include "absl/base/attributes.h"     // IWYU pragma: keep
     25 #include "absl/base/config.h"         // IWYU pragma: keep
     26 #include "absl/base/optimization.h"   // IWYU pragma: keep
     27 #include "absl/base/policy_checks.h"  // IWYU pragma: keep
     28 #include "absl/base/port.h"           // IWYU pragma: keep
     29 
     30 int main() { return 0; }