forked from OSchip/llvm-project
parent
86a6ae8398
commit
31b617d7f0
|
@ -14,7 +14,7 @@ enum B : bool { false_, true_ };
|
|||
template<bool> struct T {};
|
||||
T<false_> f;
|
||||
T<true_> t;
|
||||
// FIXME: DR1407 will make this ill-formed for a different reason.
|
||||
// FIXME: DR1407 will make this ill-formed
|
||||
T<+true_> q; // desired-error {{conversion from 'int' to 'bool'}}
|
||||
|
||||
enum B2 : bool {
|
||||
|
|
Loading…
Reference in New Issue