commit | 67f85fcdab64f36233a7211f963ed1cccffcbfb8 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri Dec 04 02:12:53 2009 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri Dec 04 02:12:53 2009 +0000 |
tree | 52308aa252723ebf3349f5634f9567420937ddbc | |
parent | c71a5234c0277f64eb07b99d3e9dc862dffb057f [diff] [blame] |
Fix for PR5447: teach Evaluate to deal with floating-point conditionals. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90521 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/init.c b/test/Sema/init.c index 840b24f..4ba6867 100644 --- a/test/Sema/init.c +++ b/test/Sema/init.c
@@ -126,3 +126,7 @@ // PR4285 const wchar_t widestr[] = L"asdf"; + +// PR5447 +const double pr5447 = (0.05 < -1.0) ? -1.0 : 0.0499878; +