summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/2004-11-27-FriendDefaultArgCrash.cpp
blob: c478e7dcae1d92696dd6c279ee33de82789194e1 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null

// PR447

namespace nm {
  struct str {
    friend void foo(int arg = 0) {};
  };
}