mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-15 17:10:34 -04:00
8 lines
148 B
C++
8 lines
148 B
C++
// RUN: %clang_cc1 %s -emit-llvm-only -verify
|
|
// expected-no-diagnostics
|
|
|
|
struct A {};
|
|
struct B : A {};
|
|
void a(const A& x = B());
|
|
void b() { a(); }
|