Searched defs:HasMixins (Results 1 - 1 of 1) sorted by relevance
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | p4.cpp | 95 struct HasMixins : public Mixins... { struct in inherits:Mixins 96 HasMixins(); 97 HasMixins(const HasMixins&); 98 HasMixins(int i); 108 A *checkA = new HasMixins<A, B, C, D>; 109 B *checkB = new HasMixins<A, B, C, D>; 110 D *checkD = new HasMixins<A, B, C, D>; 111 C *checkC = new HasMixins<A, B, D>; // expected-error{{cannot initialize a variable of type 'C *' with an rvalue of type 'HasMixins< 119 HasMixins<Mixins...>::HasMixins(): Mixins()... { } function in class:HasMixins 122 HasMixins<Mixins...>::HasMixins(const HasMixins &other): Mixins(other)... { } function in class:HasMixins 125 HasMixins<Mixins...>::HasMixins(int i): Mixins(i)... { } // expected-error{{no matching constructor for initialization of 'A'}} function in class:HasMixins [all...] |
Completed in 199 milliseconds