mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 23:01:57 +00:00
10 lines
135 B
C++
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;
|
|
}
|