☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof13.C
☽
☼
gcc/testsuite/g++.dg/ext/typeof13.C
code
plain
raw
1
// PR c++/84701
2
// { dg-options "-pedantic" }
3
4
typedef short foo_t;
5
foo_t s = -1; /* FFFF */
6
7
unsigned u = (unsigned foo_t)s; // { dg-warning foo_t }
8
unsigned u2 = (unsigned __typeof(s))s; // { dg-error typeof }