aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/920413-1.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-06-29 03:10:01 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-06-29 03:10:01 +0000
commit3be6ce4646b9ba06cd6b41804925a93ec5b33583 (patch)
treebf592ea9ef8fe4cce25dd21e3a2267e5658d7371 /gcc/testsuite/gcc.dg/920413-1.c
parent628f05b4c155039e5ebf5f85bb71bb75fcae63af (diff)
downloadgcc-3be6ce4646b9ba06cd6b41804925a93ec5b33583.zip
gcc-3be6ce4646b9ba06cd6b41804925a93ec5b33583.tar.gz
gcc-3be6ce4646b9ba06cd6b41804925a93ec5b33583.tar.bz2
Rearrange lots of files...
Rearrange lots of files, removing entirely the gcc.c-torture/special, gcc.c-torture/code-quality, and gcc.failure directories. * Deleted files: gcc.c-torture/code_quality/code_quality.exp gcc.c-torture/special/special.exp gcc.failure/failure.exp gcc.failure/940409-1.x gcc.c-torture/compile/961203-1.x * New files: gcc.misc-tests/linkage.exp gcc.c-torture/execute/920730-1t.c gcc.c-torture/execute/920730-1t.x gcc.c-torture/compile/920520-1.x gcc.c-torture/compile/920521-1.x gcc.c-torture/compile/981006-1.x gcc.c-torture/execute/eeprof-1.x * Moved files (possibly with modifications to fit a new harness): Old name New name gcc.c-torture/code_quality/920608-1.c gcc.c-torture/compile/920608-1.c gcc.c-torture/special/920413-1.c gcc.dg/920413-1.c gcc.c-torture/special/920520-1.c gcc.c-torture/compile/920520-1.c gcc.c-torture/special/920521-1.c gcc.c-torture/compile/920521-1.c gcc.c-torture/special/920717-x.c gcc.misc-tests/linkage-x.c gcc.c-torture/special/920717-y.c gcc.misc-tests/linkage-y.c gcc.c-torture/special/920730-1.c gcc.c-torture/execute/920730-1.c gcc.c-torture/special/930510-1.c gcc.dg/cpp/19930510-1.c gcc.c-torture/special/951130-1.c gcc.dg/951130-1.c gcc.c-torture/special/960224-1.c gcc.dg/cpp/19960224-1.c gcc.c-torture/special/960224-2.c gcc.dg/cpp/19960224-2.c gcc.c-torture/special/981006-1.c gcc.c-torture/compile/981006-1.c gcc.c-torture/special/eeprof-1.c gcc.c-torture/execute/eeprof-1.c gcc.failure/940409-1.c gcc.dg/940409-1.c From-SVN: r34775
Diffstat (limited to 'gcc/testsuite/gcc.dg/920413-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/920413-1.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/920413-1.c b/gcc/testsuite/gcc.dg/920413-1.c
new file mode 100644
index 0000000..db6bd08
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/920413-1.c
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+/* { dg-options "-Wtraditional" } */
+
+int
+x (b)
+{
+ return
+ 4294967295U /* { dg-warning "width of integer constant may change" } */
+ / (unsigned long) b;
+}