summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-expr-2.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-05-14 23:26:13 +0000
committerDouglas Gregor <dgregor@apple.com>2009-05-14 23:26:13 +0000
commitb4850465b77f98dce508201c938b7222ed878331 (patch)
tree5c0a8def5dbd729b776c6dd7d2e32f7df51d0edd /clang/test/SemaTemplate/instantiate-expr-2.cpp
parent35ea2c9aa687f5ad36428b3a6dc147a72cf7eeb0 (diff)
downloadbcm5719-llvm-b4850465b77f98dce508201c938b7222ed878331.tar.gz
bcm5719-llvm-b4850465b77f98dce508201c938b7222ed878331.zip
Introduce basic support for instantiating the definitions of member
functions of class templates. Only compound statements and expression statements are currently implemented. llvm-svn: 71814
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-expr-2.cpp')
-rw-r--r--clang/test/SemaTemplate/instantiate-expr-2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaTemplate/instantiate-expr-2.cpp b/clang/test/SemaTemplate/instantiate-expr-2.cpp
index 1832fd4ab70..80f403ed56f 100644
--- a/clang/test/SemaTemplate/instantiate-expr-2.cpp
+++ b/clang/test/SemaTemplate/instantiate-expr-2.cpp
@@ -116,7 +116,7 @@ namespace N7 {
//Cond<true, int*, double> C; // Errors
//int V(C.foo()); // Errors
- //typedef Cond<true, int*, double>::Type Type; // Errors + CRASHES!
+ //typedef Cond<true, int*, double>::Type Type; // Errors
typedef Cond<true, int, double>::Type Type;
}
@@ -128,5 +128,5 @@ struct X0 {
};
void test_X0(X0<int> x, IntegralConstant<int, sizeof(int)> ic) {
- x.f(5, ic);
+ x.f(5,ic);
}
OpenPOWER on IntegriCloud