blob: 4d3246b909b6e3ea0e02f62a270b6b534879488b [file] [log] [blame]
// PR c++/91230
// { dg-do compile { target c++14 } }
struct StringWrapper {
const char* Value;
};
template <typename T>
void f() {
[](auto) {
StringWrapper{__PRETTY_FUNCTION__};
};
}
int main() {
f<int>();
}