summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/member-function-template.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-09-01 00:37:14 +0000
committerDouglas Gregor <dgregor@apple.com>2009-09-01 00:37:14 +0000
commit84f14dd67432bdf52a1f309466c5e16f98112329 (patch)
treed8bae9dae5471c9820d947b731abf8771d04c930 /clang/test/SemaTemplate/member-function-template.cpp
parentb1b2016b830ceba9eb7f251e42be9ee869116a10 (diff)
downloadbcm5719-llvm-84f14dd67432bdf52a1f309466c5e16f98112329.tar.gz
bcm5719-llvm-84f14dd67432bdf52a1f309466c5e16f98112329.zip
Preliminary AST representation and semantic analysis for
explicitly-specified template argument lists in member reference expressions, e.g., x->f<int>() llvm-svn: 80646
Diffstat (limited to 'clang/test/SemaTemplate/member-function-template.cpp')
-rw-r--r--clang/test/SemaTemplate/member-function-template.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/member-function-template.cpp b/clang/test/SemaTemplate/member-function-template.cpp
index 087f3952aba..8eb40c83c34 100644
--- a/clang/test/SemaTemplate/member-function-template.cpp
+++ b/clang/test/SemaTemplate/member-function-template.cpp
@@ -43,7 +43,7 @@ void test_X_f1_address() {
void test_X_f0_explicit(X x, int i, long l) {
int &ir1 = x.f0<int>(i);
int &ir2 = x.f0<>(i);
- int &ir3 = x.f0<long>(i);
+ long &il1 = x.f0<long>(i);
}
// PR4608
OpenPOWER on IntegriCloud