0
Files
src/testing/empty_main.cc
Patrik Höglund 0627b5d2ba Add GCC bot config.
The idea is to add a bot and an empty target such that we invoke
gcc empty_main.cc with Chromium's build flags.

The intention is to catch clang-only flags that break the gcc
build.

Bug: chromium:776284
Change-Id: I9e7dc21b15e0903c813de31d4b0731515e6e4426
Reviewed-on: https://chromium-review.googlesource.com/876010
Commit-Queue: Patrik Höglund <phoglund@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536040}
2018-02-12 09:03:34 +00:00

9 lines
293 B
C++

// Copyright (c) 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Used by bots that want to check that compiler command lines still work.
int main(int argc, char** argv) {
return 0;
}