aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/cast-explicit-ctor.cpp
blob: 62134ae658dbfa32c66c2be2411ed76a678ce91d (plain)
1
2
3
4
5
6
// RUN: clang-cc -fsyntax-only -verify %s
struct B { explicit B(bool); };
void f() { 
  (void)(B)true;
  (void)B(true); 
}