diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-11 16:03:03 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-11 16:03:03 +0000 |
commit | 3bc27e2679214e7ebf931b6526e8d730302bea02 (patch) | |
tree | 464194ba44e3e419e94749e114cb365402e0577e /gcc/testsuite/gcc.c-torture/compile/pr46934.c | |
parent | 8f78e2d345b9c738fc24ec158dc4f20016a58b5c (diff) | |
download | gcc-3bc27e2679214e7ebf931b6526e8d730302bea02.tar.gz |
2011-07-11 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 176158 using svnmerge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@176161 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr46934.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr46934.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr46934.c b/gcc/testsuite/gcc.c-torture/compile/pr46934.c new file mode 100644 index 00000000000..a9c0b683315 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr46934.c @@ -0,0 +1,17 @@ +int caller (unsigned int reg_type) +{ + switch (reg_type) + { + case 0x80000000: + return (int)foo(); + + case 0x80000003: + return (int) bar(); + + case 0x80000001: + return (int) baz(); + + case 0x80000004: + return (int) fooz(); + } +} |