Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / conv / conv.qual / pr6089.cpp
blobbfadc6cac48e4cf7f0249d4bc05acfca1627ac63
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 bool is_char_ptr( const char* );
6 template< class T >
7 long is_char_ptr( T /* r */ );
9 // Note: the const here does not lead to a qualification conversion
10 template< class T >
11 void make_range( T* const r, bool );
13 template< class T >
14 void make_range( T& r, long );
16 void first_finder( const char*& Search )
18 make_range( Search, is_char_ptr(Search) );