Add and use DominatorTreeBase::findNearestCommonDominator().
[llvm-complete.git] / test / C++Frontend / 2004-11-27-FriendDefaultArgCrash.cpp
blob731e72617b9ee9ec5aedb1af107bcab067bb2432
1 // RUN: %llvmgxx %s -o /dev/null -S
3 // PR447
5 namespace nm {
6 struct str {
7 friend int foo(int arg = 0);
8 };