blob: c9a893ec9c238b935d6620561a96e8cfd5c01892 [file] [log] [blame]
Douglas Gregor63f07c52009-09-18 23:21:38 +00001// RUN: clang-cc -fsyntax-only -code-completion-dump=1 %s -o - | FileCheck -check-prefix=CC1 %s &&
2// RUN: true
3
4namespace std {
5 template<typename RandomAccessIterator>
6 void sort(RandomAccessIterator first, RandomAccessIterator last);
7
8 template<class X, class Y>
9 X* dyn_cast(Y *Val);
10}
11
12void f() {
13 // CHECK-CC1: dyn_cast<<#class X#>>(<#Y *Val#>)
14 // CHECK-CC1: sort(<#RandomAccessIterator first#>, <#RandomAccessIterator last#>)
15 std::
16