[AArch64] Add fpext and fpround costs (#119292)
[llvm-project.git] / clang / test / Sema / warn-shift-negative.c
blobc65d66c1214cd7c3508ce939b6ffb7cbf1354687
1 // RUN: %clang_cc1 -fsyntax-only -Wshift-count-negative -fblocks -verify %s
3 int f(int a) {
4 const int i = -1;
5 return a << i; // expected-warning{{shift count is negative}}