Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.bugs / 900220_02.C
blob48cb8213d5ef8fd4947fda57937fc481dbdfa396
1 // { dg-do run  }
2 // g++ 1.36.1 bug 900220_02
4 // g++ treats plain `char' and `unsigned char' as different types, however
5 // it fails to treat `signed char' as being a different type from plain
6 // `char' as called for by both the ANSI C standard and the C++ reference
7 // manual.
9 // keywords: plain char type, signed char type, unsigned char type, overloading
11 void overloaded (char) {
14 void overloaded (signed char) {         // { dg-bogus "" } 
17 void overloaded (unsigned char) {
20 void global_function ()
22   char c = 0;
23   signed char sc = 0;
24   unsigned char uc = 0;
26   overloaded (c);
27   overloaded (sc);
28   overloaded (uc);
31 int main () { return 0; }