Files
carbon-lang/clang/test/CodeGenCXX/conversion-function.cpp
T
2009-08-25 13:14:46 +00:00

10 lines
135 B
C++

// RUN: clang-cc %s -emit-llvm -o %t &&
struct S {
operator int();
};
// RUN: grep "_ZN1ScviEv" %t
S::operator int() {
return 10;
}