1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
21 void test (bool gross
)
23 struct compare_and_set
25 void operator() (const bool inner
, const bool gross
= false)
31 compare_and_set2 (false, gross
);
39 static int getValue() { return Value
; }
44 namespace PR25627_dont_odr_use_local_consts
{
45 template<int> struct X
{ X(); X(int); };
51 void f(X
<N
> = X
<N
>()) {} // OK