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

// PR447

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