// RUN: env CINDEXTEST_SKIP_FUNCTION_BODIES=1 c-index-test -test-load-source all %s 2>&1 \ // RUN: | FileCheck --implicit-check-not "error:" %s template struct Foo { template Foo(int &a) : a(a) { } int &a; }; int bar = Foo(bar).a + Foo(bar).a; // CHECK-NOT: error: constructor for 'Foo' must explicitly initialize the reference