commit | d5214b22cccbc30ac2e07c44ef91e498f2046652 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun May 04 18:25:32 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun May 04 18:25:32 2008 +0000 |
tree | 400a2eb5dfb8a2ffff697c017f64cdb08ebca141 | |
parent | 2c62a1aa398d5582db00d2bad6b2d999ee50ec14 [diff] [blame] |
Fix PR2279 part C: shifts don't perform the UACs, thanks to Neil for pointing this out. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50624 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Preprocessor/expr_usual_conversions.c b/test/Preprocessor/expr_usual_conversions.c index b2ccc40..90275c9 100644 --- a/test/Preprocessor/expr_usual_conversions.c +++ b/test/Preprocessor/expr_usual_conversions.c
@@ -6,3 +6,8 @@ foo #endif +// Shifts don't want the usual conversions: PR2279 +#if (2 << 1U) - 30 >= 0 +#error +#endif +