commit | c89a2afc35e21efbf55275341c004ea3e409925e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <doug.gregor@gmail.com> | Fri May 22 23:25:52 2009 +0000 |
committer | Douglas Gregor <doug.gregor@gmail.com> | Fri May 22 23:25:52 2009 +0000 |
tree | 9e064f9be8451e982d8b3159183a06bc9811de03 | |
parent | d56ae46dfec4c501b7bca0e144a121020841aa53 [diff] [blame] |
Template instantiation for the GNU address-of-label extension. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72301 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaTemplate/instantiate-function-1.cpp b/test/SemaTemplate/instantiate-function-1.cpp index be8c0e4..5b3a6d9 100644 --- a/test/SemaTemplate/instantiate-function-1.cpp +++ b/test/SemaTemplate/instantiate-function-1.cpp
@@ -178,6 +178,14 @@ void f(T x) { // FIXME: crummy error message below goto *x; // expected-error{{incompatible}} + + prior: + T prior_label = &&prior; + + T later_label = &&later; + + later: + (void)(1+1); } };