From 871b15052ca523b8ccf6791514a3338976e344c5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 4 Nov 2003 18:34:05 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9698 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2003-11-04-OutOfMemory.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CFrontend/2003-11-04-OutOfMemory.c diff --git a/test/CFrontend/2003-11-04-OutOfMemory.c b/test/CFrontend/2003-11-04-OutOfMemory.c new file mode 100644 index 00000000000..4c2721bd985 --- /dev/null +++ b/test/CFrontend/2003-11-04-OutOfMemory.c @@ -0,0 +1,7 @@ +void schedule_timeout(signed long timeout) +{ + switch (timeout) + { + case ((long)(~0UL>>1)): break; + } +}