xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-cxx1y.cpp (revision 0b98e8aad89f2bd4ba80b523d73cf29e9dd82ce1)
1 // RUN: not %clang_cc1 -emit-llvm-only -std=c++1y -g %s 2>&1 | FileCheck %s
2 
3 struct foo {
4   auto func(); // CHECK: error: debug information for auto is not yet supported
5 };
6 
7 foo f;
8