mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00

This means we shouldn't emit ubsan detection code or warn. Fixes PR25552. llvm-svn: 278786
10 lines
167 B
C
10 lines
167 B
C
// RUN: %clang_cc1 -Wall -ffreestanding -fsyntax-only -fwrapv -verify %s
|
|
|
|
int test() {
|
|
int i;
|
|
i = -1 << 1; // no-warning
|
|
return i;
|
|
}
|
|
|
|
// expected-no-diagnostics
|