aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-04 18:34:05 +0000
committerChris Lattner <sabre@nondot.org>2003-11-04 18:34:05 +0000
commit871b15052ca523b8ccf6791514a3338976e344c5 (patch)
tree5de2f855ba44e748201849fa4f6a785b41ca8163 /test
parentcce4e7a1b12fcb7b0f4bc63b7515b4abc147a512 (diff)
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CFrontend/2003-11-04-OutOfMemory.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CFrontend/2003-11-04-OutOfMemory.c b/test/CFrontend/2003-11-04-OutOfMemory.c
new file mode 100644
index 0000000000..4c2721bd98
--- /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;
+ }
+}