HomeSort by relevance Sort by last modified time
    Searched full:wrong_init (Results 1 - 2 of 2) sorted by null

  /external/clang/test/Sema/
warn-type-safety.cpp 16 static const int wrong_init __attribute__(( type_tag_for_datatype(zzz,int) )) = f(100); // expected-error {{'type_tag_for_datatype' attribute requires the initializer to be an integral constant expression}} variable
  /external/clang/test/SemaCXX/
cxx1y-variable-templates_in_class.cpp 13 template<typename T> CONST T wrong_init = 5; // expected-error {{member 'wrong_init' declared as a template}} member in class:A
161 template<typename T> constexpr T wrong_init = 5; // expected-error {{non-static data member cannot be constexpr; did you intend to make it static?}} member in class:constexpred::A

Completed in 545 milliseconds