gcc/testsuite/g++.dg/cpp0x/elab-enum-base.C
raw| 1 | // { dg-do compile { target c++11 } } |
| 2 | // { dg-options "" } |
| 3 | // Empty dg-options to override -pedantic-errors. |
| 4 | |
| 5 | typedef long CFIndex; |
| 6 | typedef enum CFComparisonResult : CFIndex CFComparisonResult; |
| 7 | // { dg-warning "declaration of enumeration with fixed underlying type" "" { target *-*-* } .-1 } |