]> git.proxmox.com Git - rustc.git/blame - src/llvm/tools/clang/test/Frontend/Weverything.c
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / Frontend / Weverything.c
CommitLineData
223e47cc
LB
1// Regression check that -pedantic-errors doesn't cause other diagnostics to
2// become errors.
3//
4// RUN: %clang_cc1 -verify -Weverything -pedantic-errors %s
5
6int f0(int, unsigned);
7int f0(int x, unsigned y) {
8 return x < y; // expected-warning {{comparison of integers}}
9}