diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-10-28 01:15:00 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-10-28 01:15:00 +0000 |
| commit | cb18957da05afab4c15411fca2dc13b85339ef2b (patch) | |
| tree | add3037004b0da501a0a525f62bffab3d1cdb949 /clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp | |
| parent | 49687104d6afed98e2eb5d90129d196a4c587add (diff) | |
| download | bcm5719-llvm-cb18957da05afab4c15411fca2dc13b85339ef2b.tar.gz bcm5719-llvm-cb18957da05afab4c15411fca2dc13b85339ef2b.zip | |
Never try to instantiate a deduction guide's "definition". Fixes bogus warning when there inevitably isn't one.
llvm-svn: 316820
Diffstat (limited to 'clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp')
| -rw-r--r-- | clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp b/clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp index 9232a8b6eba..9080f67fe0e 100644 --- a/clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp +++ b/clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -std=c++1z -verify %s -DERRORS -// RUN: %clang_cc1 -std=c++1z -verify %s -UERRORS +// RUN: %clang_cc1 -std=c++1z -verify %s -DERRORS -Wundefined-func-template +// RUN: %clang_cc1 -std=c++1z -verify %s -UERRORS -Wundefined-func-template // This test is split into two because we only produce "undefined internal" // warnings if we didn't produce any errors. |

