plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | chromium | vt-35023 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-35023.C | 154 | utf_8 | 2b38f59ec8e6d60420f891e4a59bd87e | // { dg-options "-std=c++0x" }
template<typename... T> int foo()
{
T t; // { dg-error "parameter packs|T" }
return t;
}
void bar()
{
foo<int>();
}
|
google | chromium | decltype-1212 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/decltype-1212.C | 234 | utf_8 | 04658a16158c85d0892e39df801aab68 | // Core 1212
// { dg-options -std=c++0x }
template <class T, class U> struct assert_same_type;
template <class T> struct assert_same_type<T,T> {};
int main()
{
int i;
assert_same_type<int&&,decltype(static_cast<int&&>(i))>();
}
|
google | chromium | forw_enum6 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/forw_enum6.C | 1,933 | utf_8 | 7f426494b02d883101d0bd86392495d6 | // { dg-do compile }
// { dg-options "-std=c++0x" }
enum class E1 : int; // { dg-error "previous definition" }
enum E1 : int; // { dg-error "scoped/unscoped mismatch" }
enum E2 : int; // { dg-error "previous definition" }
enum class E2 : int; // { dg-error "scoped/unscoped mismatch" }
enum struct E3 : int;
enum cl... |
google | chromium | enum16 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/enum16.C | 147 | utf_8 | 3daab85e397ec0ebb4d72935af3769af | // PR c++/48935
// { dg-options -std=c++0x }
enum class ENUM { a };
ENUM::Type func() { return ENUM::a; } // { dg-error "does not name a type" }
|
google | chromium | inline-ns3 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/inline-ns3.C | 205 | utf_8 | 9259e500d7d9efdd71caeff46b696b78 | // { dg-options -std=c++0x }
namespace C
{
void f();
}
namespace B
{
using namespace C;
inline namespace B1
{
void f();
}
}
namespace A
{
using namespace B;
}
int main()
{
A::f();
}
|
google | chromium | variadic49 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic49.C | 134 | utf_8 | abee30ec4450ea9478294337b34444d2 | // { dg-options "-std=gnu++0x" }
int& f(...);
template<typename... Args>
float& f(Args...);
float& g() {
return f(17, 3.14159);
}
|
google | chromium | trailing7 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/trailing7.C | 126 | utf_8 | 3d92fc594db0f6a5dc75c258d92c0835 | // PR c++/50365
// { dg-options -std=c++0x }
struct A { int i; };
struct B {
B();
A* f();
};
B::B()
{
int(f()->i);
}
|
google | chromium | vt-34753 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-34753.C | 248 | utf_8 | eacfe743dafefa8e5b45ff340b870465 | // { dg-options "-std=c++0x" }
template<typename... T> struct A
{
template<T> struct B {}; // { dg-error "not expanded|T" }
};
A<int>::B<0> b;
template<typename... T> struct B
{
template<T> B(); // { dg-error "not expanded|T" }
};
B<int> c;
|
google | chromium | defaulted30 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/defaulted30.C | 253 | utf_8 | ed98177cc9574a298e903398abd98c85 | // PR c++/49507
// { dg-options -std=c++0x }
template<typename T>
struct ConcretePoolKey
{
virtual ~ConcretePoolKey();
};
template<typename T>
ConcretePoolKey<T>::~ConcretePoolKey() = default;
int main()
{
ConcretePoolKey<int> foo;
}
|
google | chromium | constexpr-empty5 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-empty5.C | 100 | utf_8 | e575faecef119f75c735c388c15cbdf6 | // { dg-options -std=c++0x }
struct A { };
struct B: A { };
constexpr B b { };
constexpr A a = b;
|
google | chromium | vt-35331 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-35331.C | 159 | utf_8 | a3ddb240ea5bf754f530e48afeaf5506 | // { dg-options "-std=c++0x" }
template<typename...> struct A;
template<typename...T> struct A<T*> // { dg-error "not expanded|T" }
{
friend void foo();
};
|
google | chromium | constexpr-non-const-arg | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg.C | 737 | utf_8 | cef549fa8d2f8e378a7454f0d720a70d | // Example from issue 1125 drafting; D() and v were well-formed with the
// wording approved in Rapperswil, now seems they should be ill-formed.
// { dg-options "-std=c++0x -pedantic-errors" }
struct B {
constexpr B(int x) : i(0) { } // "x" is unused
int i;
};
int global; // { dg-message "not const" }
struc... |
google | chromium | constexpr-overflow2 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-overflow2.C | 158 | utf_8 | f6da1f94350fd039921c23617ecaaa9c | // PR c++/47504
// { dg-options -std=c++0x }
char constexpr sub(char arg)
{ return char(arg - char(1)); }
int main()
{ static char constexpr m = sub(-1); }
|
google | chromium | rv10 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/rv10.C | 152 | utf_8 | 5cd3e13f4cef7d25383fdec4ba84fae2 | // { dg-options "-std=gnu++0x" }
struct A
{
A() = default;
A(const A&) = delete;
};
A&& f();
void h(A&&);
void g()
{
A&& arr = f();
h(f());
}
|
google | chromium | initlist8 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/initlist8.C | 145 | utf_8 | d3a348c4b49e1b0531708a46d1a74cce | // PR c++/37740
// { dg-options "-std=c++0x" }
struct A
{
int i;
};
struct B
{
double d;
A i;
};
int main()
{
A a;
new B{3.2, a};
}
|
google | chromium | constexpr-initlist4 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-initlist4.C | 204 | utf_8 | 208ceee8c7fb96ba26d76c1504202fc3 | // { dg-options -std=c++0x }
struct A { int i; };
struct B: A { constexpr B(): A{} {} };
struct B2: A { constexpr B2(): A{1} {} };
struct C { protected: int i; };
struct D: C { constexpr D(): C{} {} };
|
google | chromium | defaulted18 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/defaulted18.C | 266 | utf_8 | 9d39cda5d3f3797e37e64a865b5a3992 | // { dg-options "-std=c++0x" }
void f(char i, int j) = delete; // { dg-message "<deleted>" }
void f(int i, ...); // { dg-message "void f" }
int main()
{
f(1,1); // { dg-error "ambiguous" }
// { dg-message "candidate" "candidate note" { target *-*-* } 8 }
}
|
google | chromium | rv-template1 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/rv-template1.C | 145 | utf_8 | 960ecea65a2ec440472fc845d9f4e274 | // PR c++/44870
// { dg-options -std=c++0x }
void foo(int&& data);
template <typename T>
void bar(T t)
{ foo(int()); }
void baz()
{ bar(0); }
|
google | chromium | vt-35242 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-35242.C | 162 | utf_8 | ffb7b95267980086fce519711a782435 | // { dg-options "-std=c++0x" }
struct A
{
template<typename... T> struct B;
};
template<typename... T> struct A::B<T*> {}; // { dg-error "parameter packs|T" }
|
google | chromium | enum9 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/enum9.C | 89 | utf_8 | a66db01feb4dd1cae2e0f64cd85a8cae | // { dg-options -std=c++0x }
enum class E { };
E f();
bool b2 = static_cast<bool>(f());
|
google | chromium | trailing1 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/trailing1.C | 2,148 | utf_8 | 338b06ce14433a651be9f26f74b1e484 | // Tests for late-specified return type.
// { dg-options "-std=c++0x -fabi-version=5" }
auto f() -> int
{
return 0;
}
template<class T, class U>
auto add(T t, U u) -> decltype (t+u)
{
return t+u;
}
template<class T, class U>
decltype(T()+U()) add2(T t, U u)
{
return t+u;
}
template <class T, class U>
U ag (T,... |
google | chromium | vt-34055 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-34055.C | 672 | utf_8 | c2357ee79aa07dbc9e108c0c7ad46133 | // { dg-options "-std=c++0x" }
// PR c++/34055
template<typename...> struct A;
template<typename...T> struct A<T*> // { dg-error "parameter packs|T" }
{
void foo();
};
template<typename...T> void A<T*>::foo() {} // { dg-error "invalid declarator" }
template<typename...> struct B;
template<typename...T> struct B... |
google | chromium | vt-34755 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-34755.C | 221 | utf_8 | 0f764787d40ed4f9f7ad1a7c54e7bc2b | // { dg-options "-std=c++0x" }
template<typename> struct A {};
template<template<typename> class... T> void foo(T<int>) {} // { dg-error "not expanded|T" }
template void foo<A>(A<int>); // { dg-error "does not match" }
|
google | chromium | nullptr18 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/nullptr18.C | 492 | utf_8 | 46d2a39a16022d8ca69702e1b5d60561 | // { dg-do compile }
// { dg-options "-std=c++0x" }
// Test overload of pointer versus bool when applied on a nullptr_t
template <typename T, typename U> struct tType_equal;
template <typename T> struct tType_equal<T, T> { typedef void type; };
template <typename T, typename U>
inline typename tType_equal<T, U>::typ... |
google | chromium | auto15 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/auto15.C | 241 | utf_8 | e3505db416fb041ea0d0db503cc713f1 | // { dg-options "-std=c++0x" }
template< typename Fn > struct function;
template< typename Result, typename ... ArgTypes >
struct function< auto (ArgTypes...)->Result > {
};
int main()
{
function< auto(double)->int > y;
return 0;
}
|
google | chromium | constexpr-noexcept | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-noexcept.C | 286 | utf_8 | a2e0c39608a4521178d991fc6c0a2e85 | // { dg-options -std=c++0x }
template<class T>
struct is_funny {
static constexpr bool value = false;
};
template<class T>
constexpr T value(T t) noexcept(is_funny<T>::value) { return t; } // Line 7
constexpr bool ok = noexcept(value(42));
static_assert(ok, "Assertion failure");
|
google | chromium | constexpr-base4 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-base4.C | 254 | utf_8 | 61b19010288c7dfde736246cbb9f2491 | // PR c++/46626
// { dg-do run }
// { dg-options "-std=c++0x" }
struct A
{
virtual void f () = 0;
virtual ~A () { }
};
struct B : A
{
virtual void f () { }
};
static void
foo (A *a)
{
a->f ();
}
int
main ()
{
B b;
foo (&b);
return 0;
}
|
google | chromium | rv4n | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/rv4n.C | 41,170 | utf_8 | 0cbe341f543e34cdafb2f3da6728a61f | // I, Howard Hinnant, hereby place this code in the public domain.
// Test overload resolution among reference types
// { dg-do compile }
// { dg-options "-std=c++0x" }
template <bool> struct sa;
template <> struct sa<true> {};
struct one {char x[1];};
struct two {char x[2];};
struct three {char x[3];};
struct ... |
google | chromium | constexpr-friend | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-friend.C | 643 | utf_8 | d8d2b447f9b93b9393a0f3265407bea7 | // PR c++/48948
// { dg-options -std=c++0x }
struct A { A(); };
struct B {
friend constexpr int f(B) { return 0; } // OK
friend constexpr int f(A) { return 0; } // { dg-error "constexpr" }
};
template <class T>
struct C
{
constexpr int m(A) { return 0; } // { dg-error "double" }
};
constexpr int i = f(C<int>());
... |
google | chromium | variadic61 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic61.C | 122 | utf_8 | fc2fc2c87d783c7e4469a5ddeec5b902 | // { dg-options "-std=gnu++98 -pedantic" }
template<typename... Args> class tuple; // { dg-warning "variadic templates" }
|
google | chromium | variadic45 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic45.C | 174 | utf_8 | cb52c389d45c5f0d316d702504602e56 | // { dg-options "-std=gnu++0x" }
template<typename... Args>
int& f(Args...);
template<typename T1, typename T2>
float& f(T1, T2);
float& g() {
return f(17, 3.14159);
}
|
google | chromium | access01 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/access01.C | 180 | utf_8 | 02606f2cc5924e3860b348ccdf6f8c0f | // PR c++/49042
// { dg-options -std=c++0x }
template <class T>
class A
{
T p;
public:
template <class U> auto f() -> decltype(+p) { }
};
int main()
{
A<int>().f<int>();
}
|
google | chromium | variadic92 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic92.C | 1,357 | utf_8 | 52ab8919bc0cd7496f7516a7181f8a64 | // Various tests for variadic templates and partial specialization.
// { dg-options "-std=c++0x" }
// PR c++/36846
template<typename A, typename B>
struct pair;
template<typename... T>
struct pairs;
template<typename... AS, typename... BS>
struct pairs<pair<AS, BS>...> {
struct mismatched_packs {};
};
template cl... |
google | chromium | variadic37 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic37.C | 265 | utf_8 | 07ad629a9fe7358117b28c60d1d1916e | // { dg-options "-std=gnu++0x" }
template<typename... Values>
struct tuple
{
static const __SIZE_TYPE__ length = sizeof...(Values);
};
int a0[tuple<>::length == 0? 1 : -1];
int a1[tuple<int>::length == 1? 1 : -1];
int a2[tuple<int, float>::length == 2? 1 : -1];
|
google | chromium | rv2p | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/rv2p.C | 15,069 | utf_8 | d22bac4cd84da5881b6074badc0eea08 | // I, Howard Hinnant, hereby place this code in the public domain.
// Test overload resolution among reference types
// { dg-do compile }
// { dg-options "-std=c++0x" }
template <bool> struct sa;
template <> struct sa<true> {};
struct one {long x[1];};
struct two {long x[2];};
struct three {long x[3];};
struct ... |
google | chromium | alignof2 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/alignof2.C | 185 | utf_8 | 3d1c37fb5c763f5adeddb6b2c7760517 | // { dg-do compile }
// { dg-options "-std=c++0x -pedantic" }
int main(void)
{
alignof(int); //ok with a type but not with an expression
alignof(3); // { dg-warning "alignof" }
}
|
google | chromium | vt-34103 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-34103.C | 245 | utf_8 | 4ce2ee23d4adb071c7bf282eebc82eb3 | // { dg-options "-std=c++0x" }
// PR c++/34103
template<typename> struct A {};
template<typename...T> void foo(A<T>, A<T>); // { dg-error "parameter packs|T" }
template<typename...T> void foo(A<T>, A<T>) {} // { dg-error "parameter packs|T" }
|
google | chromium | variadic66 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic66.C | 177 | utf_8 | c3f06cf86e54c908fb0645bdc2f64ad6 | // { dg-options "-std=gnu++0x" }
template<typename Result, typename Functor, typename... ArgTypes>
Result bind(Functor, ArgTypes...) { }
void f()
{
bind<int>(17, 20, 22);
}
|
google | chromium | vt-35024 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-35024.C | 166 | utf_8 | 6de03c7edd71c45e3ff9011def618a5d | // { dg-options "-std=c++0x" }
template<typename... T> int foo()
{
typename T::X x; // { dg-error "parameter packs|T" }
return x;
}
void bar()
{
foo<int>();
}
|
google | chromium | friend2 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/friend2.C | 545 | utf_8 | 8793fc252fb53534925c2154a5cc5f4d | // PR c++/47721
// { dg-options -std=c++0x }
// template type parameter friend:
template<class W>
class Q
{
static const int I = 2;
public:
friend W;
};
struct B
{
int ar[Q<B>::I];
};
// bonus template template parameter friend:
template <class T> struct A;
template<template <class> class W>
class P
{
sta... |
google | chromium | enum14 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/enum14.C | 142 | utf_8 | c59dd44c446a74f887d02cded81ac68d | // PR c++/48106
// { dg-options -std=c++0x }
enum class E : char
{
e
};
bool operator&(E e, char m)
{
return static_cast<int>(e) & m;
}
|
google | chromium | defaulted4 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/defaulted4.C | 460 | utf_8 | c163e76b6fe04152df8ad492d1575982 | // PR c++/37208: SFINAE and deleted functions.
// { dg-options "-std=c++0x" }
// { dg-do compile }
template<int> struct A { };
template<typename T>
int& int_if_addable(A<sizeof((*(T*)0) + (*(T*)0))>*);
template<typename T>
float& int_if_addable(...);
struct X { };
struct Y { };
Y operator+(Y, Y);
struct Z { };
Z ... |
google | chromium | variadic96 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic96.C | 418 | utf_8 | 41e12174fa168c73046b0c0637085a21 | // Origin: PR c++/41785
// { dg-options -std=c++0x }
struct a {};
template < typename T, typename ENCLOSING >
struct base;
template < typename... T >
struct derived
: public base< T, derived< T... > >...
{};
template < typename... T>
struct base< a, derived< T... > >
{
typedef derived< T... >
Derived;
};
... |
google | chromium | pr47476 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/pr47476.C | 148 | utf_8 | b8df79d25973d2ff9019cf0b894855e9 | // PR c++/47476
// { dg-do compile }
// { dg-options "-std=c++0x" }
int
foo (int a, int b)
{
const bool c ((a != 0) == (b != 26));
return c;
}
|
google | chromium | bind | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/bind.C | 83 | utf_8 | 50977a1e531cb1b5874af1663f7aa4f2 | // { dg-options "--std=c++0x" }
struct S{};
void f(S&&);
int main()
{
f(S());
}
|
google | chromium | nullptr11 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/nullptr11.C | 1,084 | utf_8 | d08959fda4ce45ff554816152da0c8bc | // { dg-do compile }
// { dg-options "-std=c++0x" }
// Test relational operators
#define assert_true(b) do { char c[2 * bool(b) - 1]; } while(0)
#define assert_false(b) do { char c[1 - 2 * bool(b)]; } while(0)
void fun()
{
assert_true(nullptr == nullptr);
assert_false(nullptr != nullptr);
assert_false(nullptr ... |
google | chromium | initlist10 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/initlist10.C | 992 | utf_8 | 73fd140acb60b79673309a4e733012ae | // PR c++/38380
// { dg-options "-std=gnu++0x" }
namespace std
{
struct atomic_bool
{
bool _M_i;
atomic_bool() = default;
~atomic_bool() = default;
atomic_bool(const atomic_bool&) = delete;
atomic_bool& operator=(const atomic_bool&) = delete;
explicit atomic_bool(bool __i) { _M_i = __i; }
... |
google | chromium | temp_default2 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/temp_default2.C | 422 | utf_8 | 94eb0ac8e7f5f952a4c4b429234eb713 | // { dg-options "-std=c++0x" }
template <class T, class U = double>
void f(T t = 0, U u = 0); // { dg-message "note" }
void g()
{
f(1, 'c'); // f<int,char>(1,'c')
f(1); // f<int,double>(1,0)
f(); // { dg-error "no matching function" }
// { dg-message "(candidate|deduce template parameter)" "candidate no... |
google | chromium | constexpr-diag1 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-diag1.C | 517 | utf_8 | f3539c7c499fa6673941a92f378246a4 | // Test that we explain why a template instantiation isn't constexpr
// { dg-options -std=c++0x }
template <class T>
struct A
{
T t;
constexpr int f() { return 42; } // { dg-error "enclosing class" }
};
struct B { B(); operator int(); };
constexpr A<int> ai = { 42 };
constexpr int i = ai.f();
constexpr int b = ... |
google | chromium | variadic-ex7 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic-ex7.C | 595 | utf_8 | 872a012c63a609887bf1eb5f52fcc0d7 | // { dg-options "-std=gnu++0x" }
template<typename...> struct Tuple { };
template<typename... Types> char& g(Tuple<Types...>); // #1
template<typename T1, typename... Types> short& g(Tuple<T1, Types...>); // #2
template<typename T1, typename... Types> int& g(Tuple<T1, Types&...>); // #3
void f() ... |
google | chromium | sfinae8 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/sfinae8.C | 316 | utf_8 | 52cc40c6097986d4923b4b2fe4129450 | // PR c++/48449
// { dg-options -std=c++0x }
template<class T, class = decltype(T())>
char f(int);
template<class>
char (&f(...))[2];
struct A { virtual ~A() = 0; };
static_assert(sizeof(f<int&>(0)) != 1, "Error");
static_assert(sizeof(f<void()>(0)) != 1, "Error");
static_assert(sizeof(f<A>(0)) != 1, "Error");
|
google | chromium | variadic109 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic109.C | 259 | utf_8 | fd0f0474d4a4a1a26d9cebd171ba0ac1 | // PR c++/48292
// { dg-options -std=c++0x }
template <typename... Args> int g(Args...);
template <int N = 0>
struct A
{
template <typename... Args>
static auto f(Args... args) -> decltype(g(args...));
};
int main()
{
A<>::f();
return 0;
}
|
google | chromium | range-for18 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/range-for18.C | 215 | utf_8 | 7c4c17bdfd0042db40ce3ea06bed9bae | // PR c++/48994
// { dg-do compile }
// { dg-options "-std=c++0x" }
template <typename T>
struct myvec
{
T* begin() const;
T* end() const;
};
void f(const myvec<int>& v)
{
for (int i : v)
;
}
|
google | chromium | rv-conv1 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/rv-conv1.C | 114 | utf_8 | 8bbc86c9d04edb22dc5e938b324fb8cc | // PR c++/49267
// { dg-options -std=c++0x }
struct X {
operator int&();
operator int&&();
};
int&&x = X();
|
google | chromium | implicit4 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/implicit4.C | 501 | utf_8 | 4807357980e8d179e08c660cb4172366 | // Test that a base with only a move constructor causes the implicit copy
// constructor to be deleted.
// { dg-options "-std=c++0x" }
struct A
{
A(); // { dg-message "A::A|candidate expects" }
A(A&&); // { dg-message "A::A|no known conversion" }
};
struct B: A // { dg-error "implicit|no match" }
// { dg-m... |
google | chromium | range-for6 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/range-for6.C | 455 | utf_8 | 9f4da77684212b1811567b4321f3410f | // Test for range-based for loop
// Test the loop with an initializer_list
// { dg-do run }
// { dg-options "-std=c++0x" }
#include <initializer_list>
extern "C" void abort();
template<typename T> T foo()
{
T sum = 0;
for (T x : {T(1),T(2),T(3),T(4)})
sum += x;
if (sum != T(10))
abort();... |
google | chromium | constexpr-builtin1 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-builtin1.C | 539 | utf_8 | bbf221c5e428059ef7f2ed726e9c6f20 | // PR c++/49813
// { dg-options -std=c++0x }
inline constexpr bool
isinf(long double __x)
{ return __builtin_isinf(__x); }
inline constexpr bool
isinf(double __x)
{ return __builtin_isinf(__x); }
inline constexpr bool
isnan(long double __x)
{ return __builtin_isnan(__x); }
int main()
{
constexpr long double num1 ... |
google | chromium | constexpr-array4 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-array4.C | 274 | utf_8 | 836ad145712c37b11e565dff0564b5e7 | // PR c++/49924
// { dg-options -std=c++0x }
struct A { constexpr A() { } };
struct B {
A array[1]; //non-static member array of a literal type w constexpr ctor
constexpr B() : array{} { } // here is the problem
};
int main()
{
constexpr B b{}; // won't compile
}
|
google | chromium | variadic43 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic43.C | 141 | utf_8 | 3822f7c45c969832af7c5cc9cfc85b75 | // { dg-options "-std=gnu++0x" }
template<typename... Args>
int f(const Args&...);
void g()
{
int (*fp)(const int&, const float&) = &f;
}
|
google | chromium | sfinae5 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/sfinae5.C | 249 | utf_8 | ddf7c22944e25582001c55ba57f4c574 | // { dg-options -std=c++0x }
template<class T>
T&& create();
template <class T, class U,
class = decltype(create<T>() = create<U>())
>
char test(int);
template <class, class>
double test(...);
int main() {
test<int[], int[]>(0); // #1
}
|
google | chromium | pr33996 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/pr33996.C | 622 | utf_8 | 858f5b1e4bec1cc54033874898b4c20f | // { dg-options "-std=c++0x" }
#define BUG
struct type
{
type() { }
type(const type&) { }
private:
type(type&&);
};
template<typename _Tp>
struct identity
{
typedef _Tp type;
};
template<typename _Tp>
inline _Tp&&
forward(typename identity<_Tp>::type&& __t)
{ return __t; }
struct vec
{
template<... |
google | chromium | constexpr-value3 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-value3.C | 159 | utf_8 | a930284b1953ab77dcbc0ec94543b57b | // PR c++/50234
// { dg-options -std=c++0x }
#define SA(X) static_assert((X),#X)
struct A { int i; };
constexpr int f(A a) { return a.i; }
SA(f({}) == 0);
|
google | chromium | rv5p | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/rv5p.C | 44,365 | utf_8 | 3320f491d3deb4298e252b5cb4159db3 | // I, Howard Hinnant, hereby place this code in the public domain.
// Test overload resolution among reference types
// { dg-do compile }
// { dg-options "-std=c++0x" }
template <bool> struct sa;
template <> struct sa<true> {};
struct one {long x[1];};
struct two {long x[2];};
struct three {long x[3];};
struct ... |
google | chromium | defaulted7 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/defaulted7.C | 288 | utf_8 | 7ce42a1717ccdfef065fa2abb34b230c | // PR c++/38701, 38702
// { dg-options "-std=c++0x" }
void foo() = default; // { dg-error "cannot be defaulted" }
namespace
{
void bar() = default; // { dg-error "cannot be defaulted" }
}
enum E { e };
E& operator |= (E&, const E&) = default; // { dg-error "cannot be defaulted" }
|
google | chromium | constexpr-static2 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-static2.C | 265 | utf_8 | b7a72e1de40495a1baed9c666ba75b37 | // { dg-options -std=c++0x }
struct IsLiteral {};
struct ShouldBeLiteral {
constexpr ShouldBeLiteral(int){}
};
struct StaticDataMember {
static constexpr IsLiteral one = IsLiteral(); // #1
static constexpr ShouldBeLiteral two= ShouldBeLiteral(-1); // #2
};
|
google | chromium | initlist11 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/initlist11.C | 203 | utf_8 | 8dbe19ce3d5e8c97798e92453af88063 | // PR c++/38684
// { dg-options "-std=c++0x" }
#include <initializer_list>
struct Y {};
struct X : Y {
X(std::initializer_list<int>) {}
};
struct A {
X v;
};
int main() {
A a{ {1,2,3} };
}
|
google | chromium | initlist-array2 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/initlist-array2.C | 141 | utf_8 | 8a768c5b4c16bf656066aa7f75b3e827 | // { dg-options -std=c++0x }
typedef int IA[2];
typedef double DA[2];
void f(const IA&) { }
void f(const DA&);
int main()
{
f({1,2});
}
|
google | chromium | sfinae9 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/sfinae9.C | 629 | utf_8 | e13ab59500ace00163bb45a707784df6 | // PR c++/48450
// { dg-options -std=c++0x }
namespace std {
template <class T> T&& declval();
};
template<class To, class From,
class = decltype(static_cast<To>(std::declval<From>()))
>
char f(int);
template<class, class>
char (&f(...))[2];
struct A { virtual ~A() = 0; };
struct B {};
struct D : B {};
static_... |
google | chromium | vt-34219-2 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-34219-2.C | 459 | utf_8 | 2919779431c1c9526a08be75d89b5c3b | // { dg-options "-std=c++0x" }
template<template<typename... T> class Comp, typename... T> void f( T... Value)
{
static_assert( Comp<T>::value > 0, "" ); // { dg-error "parameter packs|T" }
}
template<template<typename... T> class Comp, typename... T> void g( T... Value)
{
static_assert( Comp<T...>::value > 0, "" ... |
google | chromium | initlist21 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/initlist21.C | 366 | utf_8 | 1a171945afcdcbc357d5fbf41918feb6 | // PR c++/40689
// { dg-options "-std=c++0x" }
class X
{
public:
X(): data {1,2} {} // { dg-error "too many initializers" }
private:
const short data[1];
};
int f(int n)
{
const float * pData = new const float[1] { 1.5, 2.5 }; // { dg-error "too many initializers" }
pData = new const float[n] { 1.5, 2.5 }; ... |
google | chromium | initlist55 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/initlist55.C | 115 | utf_8 | c6db56666fb37cd3b1f06f1ea41734c0 | // Test for -Wno-narrowing
// { dg-options "-std=c++0x -pedantic-errors -Wno-narrowing" }
int i;
float d = { i };
|
google | chromium | collapse-bug | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/collapse-bug.C | 375 | utf_8 | 7a2dbf79945c55067480b8e1f8c3a065 | // { dg-options "--std=c++0x" }
template<typename T, typename U> struct same_type;
template<typename T> struct same_type<T, T> {};
template <typename T>
struct S
{
typedef T const (&type)();
};
void f()
{
// initial implementation didn't ignore const qualifier on
// reference, resulting in a typedef of 'const i... |
google | chromium | named_refs | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/named_refs.C | 498 | utf_8 | 390d15a876f3b6b15c51ec2d56147ab8 | // I, Howard Hinnant, hereby place this code in the public domain.
// Test: Named rvalue references are treated as lvalues.
// { dg-do compile }
// { dg-options "-std=c++0x" }
template <bool> struct sa;
template <> struct sa<true> {};
struct one {long x[1];};
struct two {long x[2];};
struct A {};
one foo(cons... |
google | chromium | elision_neg | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/elision_neg.C | 830 | utf_8 | 3e69649c6ad000bc2903d3e850b8bcb7 | // I, Howard Hinnant, hereby place this code in the public domain.
// Test: Implicit cast to rvalue when eliding copy
// { dg-do compile }
// { dg-options "-std=c++0x" }
template <bool> struct sa;
template <> struct sa<true> {};
struct one {char x[1];};
struct two {char x[2];};
class move_only
{
move_only(... |
google | chromium | variadic71 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic71.C | 369 | utf_8 | 2b332497467d8e441a154dcf78b23907 | // { dg-options "-std=gnu++0x" }
template<typename...> struct list {};
template<typename Sequence, typename Head>
struct push_front;
template<typename... Elements, typename Head>
struct push_front<list<Elements...>, Head> {
typedef list<Head, Elements> type; // { dg-error "parameter packs not expanded" }
};
// { d... |
google | chromium | parse1 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/parse1.C | 115 | utf_8 | b213f45e259f0761d3245310648aa04a | // PR c++/43509
// { dg-options "-std=c++0x" }
typedef int B; // { dg-error "" }
B::B() {} // { dg-error "" }
|
google | chromium | decltype9 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/decltype9.C | 216 | utf_8 | 2918e2a5d66ef09c7eb73237e6fa3b6e | // PR c++/34271
// { dg-do compile }
// { dg-options "-std=c++0x" }
template<int> struct A
{
static int i;
};
template<int N> int A<N>::i(decltype (A::i)); // { dg-error "member function|must be an expression" }
|
google | chromium | variadic-ex6 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic-ex6.C | 500 | utf_8 | 1549cb06bbcf3d95eb4c5cda1fb32438 | // { dg-options "-std=gnu++0x" }
template<class...> struct Tuple { };
template<class... Types> void f(Types&...);
template<class... Types1, class... Types2> void g(Tuple<Types1...>, Tuple<Types2...>);
void h(int x, float& y)
{
const int z = x;
f(x, y, z); // Types is deduced to int, const int, float
g(Tuple<sh... |
google | chromium | variadic10 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic10.C | 453 | utf_8 | df2980d6404d65a9ba0a025e438d3fb1 | // { dg-options "-std=gnu++0x" }
template<typename T1, typename T2>
struct pair {};
template<typename... Args>
struct tuple {
static const int value = 0;
};
template<>
struct tuple<pair<int, float> > { };
template<typename... Outer>
struct X {
template<typename... Inner>
struct Y
{
typedef tuple<pair<Out... |
google | chromium | sfinae24 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/sfinae24.C | 485 | utf_8 | a7eae6d0b7c20595b9c4419977b19ca8 | // PR c++/49058
// This error is not subject to SFINAE because it doesn't happen in the
// deduction context.
// { dg-options -std=c++0x }
// { dg-prune-output "note" }
template<typename T> T val();
struct F1
{
void operator()();
};
template<typename F>
struct Bind
{
template<typename R
= decltype( val... |
google | chromium | initlist7 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/initlist7.C | 272 | utf_8 | 613b80eadd3f31808de00e614b6391fa | // PR c++/37932
// { dg-options "-std=c++0x -pedantic-errors" }
typedef enum { AA=1, BB=2 } my_enum;
typedef struct { my_enum a:4 ; unsigned b:28; } stru;
void foo (char c, my_enum x, int i)
{
char arr[2] = {c+'0', 0}; // { dg-error "narrowing" }
stru s = {x,0};
}
|
google | chromium | constexpr-ctor4 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor4.C | 144 | utf_8 | 1678beb65694065113fefd3e3c7c578f | // PR c++/46873
// { dg-options -std=c++0x }
struct S
{
int i:1;
};
struct T
{
const S s;
constexpr T (S a = S ()) : s (a) { }
};
T t;
|
google | chromium | variadic5 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic5.C | 719 | utf_8 | 1dabfabca0620ceb39e08c88a86e7df4 | // { dg-options "-std=gnu++0x" }
template<typename... Args>
struct tuple {
static const int value = 0;
};
template<>
struct tuple<> {
static const int value = 1;
};
template<>
struct tuple<int> {
static const int value = 2;
};
template<>
struct tuple<int, float> {
static const int value = 3;
};
template<ty... |
google | chromium | sfinae2 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/sfinae2.C | 895 | utf_8 | b47e44973f1d5e14de7747c27b7e60fb | // PR c++/44967
// { dg-options -std=c++0x }
template <typename T> T&& declval();
template<typename T1, typename T2, typename... Args>
struct has_construct
{
typedef char one;
typedef struct {char _m[2]; } two;
template<typename U1, typename U2, typename... Args2>
static decltype(declval<U1>().constr... |
google | chromium | error5 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/error5.C | 2,450 | utf_8 | 7794825ea3417732e8c6cb41b3b407e3 | // PR c++/49181
// { dg-options -std=c++0x }
namespace std
{
typedef __SIZE_TYPE__ size_t;
template<typename _Tp, _Tp>
struct integral_constant;
template<typename _Tp, _Tp __v>
struct integral_constant
{
static constexpr _Tp value = __v;
typedef _Tp value_type;
typedef integral_co... |
google | chromium | noexcept08 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/noexcept08.C | 1,044 | utf_8 | a820755fd39aff0b0698a1d7d722fa91 | // { dg-options "-std=c++0x" }
// { dg-prune-output "overriding" }
struct A
{
virtual void f();
virtual void g() throw();
virtual void h() noexcept;
virtual void i() noexcept(false);
virtual void j() throw(int);
};
struct B: A
{
void f() noexcept;
void g() noexcept;
void h() noexcept;
void i() noexc... |
google | chromium | constexpr-nullptr | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-nullptr.C | 163 | utf_8 | 74a730c286f1f56ed9d3c93adc106a04 | // { dg-options -std=c++0x }
constexpr int zero() { return 0; }
void* ptr1 = zero(); // { dg-error "int" }
constexpr void* ptr2 = zero(); // { dg-error "int" }
|
google | chromium | decltype17 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/decltype17.C | 502 | utf_8 | eaeefa4f782de3fac5fef150f360691b | // PR c++/36628
// { dg-options "-std=c++0x" }
// { dg-do run }
#include <typeinfo>
#include <string.h>
int rvalue();
int& lvalueref();
int&& rvalueref();
decltype(true ? rvalue() : rvalue()) f()
{}
decltype(true ? lvalueref() : lvalueref()) g()
{}
decltype(true ? rvalueref() : rvalueref()) h()
{}
int main()
{
... |
google | chromium | constexpr-bitfield | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-bitfield.C | 146 | utf_8 | 6ea74a1918049d585d87cdcf59cc978d | // PR c++/46369
// { dg-options -std=c++0x }
struct A
{
unsigned i : 1;
};
constexpr A f() { return { 1 }; }
constexpr bool b = (f().i == 1);
|
google | chromium | variadic-ex14 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic-ex14.C | 650 | utf_8 | 2da1a34cbd6f053d69f347755b01f580 | // { dg-options "-std=gnu++0x" }
template<class T> class A { /* ... */ };
template<class T, class U = T> class B { /* ... */ };
template<class... Types> class C { /* ... */ };
template<template<class> class P> class X { /* ... */ };
template<template<class...> class Q> class Y { /* ... */ };
X<A> xA; // okay
X<B> xB... |
google | chromium | sfinae26 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/sfinae26.C | 666 | utf_8 | 4c3ca8eb4a0436d7e83c8dcd2668eb8c | // PR c++/49229
// { dg-options -std=c++0x }
extern void* enabler;
template<bool, class = void>
struct enable_if {};
template<class T>
struct enable_if<true, T> {
typedef T type;
};
template<class... Bn>
struct and_;
template<class B1>
struct and_<B1> : B1 {};
template<class, class>
struct is_same {
static co... |
google | chromium | defaulted13 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/defaulted13.C | 707 | utf_8 | de5312cb6963a1030aa7b46271342074 | // { dg-options -std=c++0x }
template<typename T>
struct NonCopyable {
NonCopyable() = default;
NonCopyable(NonCopyable const&);
};
template<>
NonCopyable<int>::NonCopyable(NonCopyable<int> const&) = delete; // { dg-error "declared" }
template<typename T>
NonCopyable<T>::NonCopyable(NonCopyable<T> const&) = defa... |
google | chromium | noexcept15 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/noexcept15.C | 711 | utf_8 | cf44e104afe39eaa0631ef00daa0e793 | // PR c++/50391
// { dg-options -std=c++0x }
#include <type_traits>
template<class Tp>
struct single
{
Tp elem; // { dg-error "incomplete type" }
constexpr single(const Tp& e)
: elem(e) { } // { dg-error "invalid field" }
single(single&& s) // { dg-error "not a member" }
noexcept(std::is_... |
google | chromium | variadic-ex10 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic-ex10.C | 397 | utf_8 | 76a8254969800746445081626acf6fd9 | // { dg-options "-std=gnu++0x" }
template<typename... Types> struct Tuple { };
Tuple<> t0; // Types contains no arguments
Tuple<int> t1; // Types contains one argument: int
Tuple<int, float> t2; // Types contains two arguments: int and float
Tuple<0> error; // { dg-error "mismatch" }
// { dg-error "expected a type" ""... |
google | chromium | initlist-arrray1 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/initlist-arrray1.C | 77 | utf_8 | 1d4723786bc4824bfdb686adaa35bf97 | // { dg-options -std=c++0x }
typedef int IRT[2];
const IRT& ir = IRT{1,2};
|
google | chromium | vt-34606 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-34606.C | 228 | utf_8 | 75919a6295ef8041bbad0ab4fc7c8382 | // { dg-options "-std=c++0x" }
template<typename...> struct A;
template<typename T, typename... U> struct A<T, U> // { dg-error "parameter packs|U" }
{
template<typename> struct B;
template<typename X> struct B<X*> {};
};
|
google | chromium | constexpr-fnptr | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-fnptr.C | 200 | utf_8 | 37a3507a27758786839cd2fce486bf39 | // { dg-options -std=c++0x }
constexpr bool is_negative(int x) { return x < 0; }
constexpr bool check(int x, bool (*p)(int)) { return p(x); } // #1
static_assert(check(-2, is_negative), "Error");
|
google | chromium | noexcept11 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/noexcept11.C | 789 | utf_8 | 4b9d32275a4e377a2e12155c1ce96c4b | // PR c++/49107
// { dg-options -std=c++0x }
template<typename _Tp>
_Tp declval() noexcept;
template<typename _Tp , typename = decltype(_Tp(declval<_Tp&&>()))>
struct trait
{
static const bool value=true;
};
template<class _T2>
struct pair
{
_T2 second;
void swap(pair& __p)
noexcept(trait<_T2>::value);
};
... |
google | chromium | vt-34314 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/vt-34314.C | 1,029 | utf_8 | 46a1e79816504e03496252645e31757a | // { dg-options "-std=c++0x" }
template<typename Fun, typename... Args> // { dg-error "template parameter" }
struct call;
template<typename Fun, typename Arg0>
struct call // { dg-error "redeclared here" }
{
template<typename Sig>
struct result;
template<typename X, typename Y>
struct result<X(Y)>
... |
google | chromium | variadic-ex4 | .C | native_client/pnacl-gcc/gcc/testsuite/g++.dg/cpp0x/variadic-ex4.C | 543 | utf_8 | aa96644b8aeec60f1196acff72a83caa | // { dg-options "-std=gnu++0x" }
template<class X, class Y, class Z> X f(Y,Z); // { dg-message "note" }
template<class... Args> void f2();
void g()
{
f<int,const char*,double>("aa",3.0);
f<int,const char*>("aa",3.0); // Z is deduced to be double
f<int>("aa",3.0); // Y is deduced to be char*, and
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.