summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/conv-5.C
blob: f8df710920cc150a0666a2e4a1cafa9147b23cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do compile }

// Copyright (C) 2004 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 17 Dec 2004 <nathan@codesourcery.com>

// PR 18721. bogus error
// Origin:  Mikael Kilpel?inen <belz@kolumbus.fi>

struct A {
  template<typename T>
  operator T() const;
  
  operator float() const;
};