File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
toolchain/check/testdata/interop/cpp Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,18 @@ import Cpp library "template.h";
22
22
23
23
fn F () {
24
24
// @dump-sem-ir-begin
25
- // CHECK:STDERR: fail_todo_use_template.carbon:[[@LINE+4]]:10: error: name `C` not found [NameNotFound]
26
- // CHECK:STDERR: var c: C({});
27
- // CHECK:STDERR: ^
25
+ // CHECK:STDERR: fail_todo_use_template.carbon:[[@LINE+11]]:10: error: semantics TODO: `Unsupported: Declaration type ClassTemplate` [SemanticsTodo]
26
+ // CHECK:STDERR: var c: Cpp.C({});
27
+ // CHECK:STDERR: ^~~~~
28
+ // CHECK:STDERR: fail_todo_use_template.carbon:[[@LINE+8]]:10: note: in `Cpp` name lookup for `C` [InCppNameLookup]
29
+ // CHECK:STDERR: var c: Cpp.C({});
30
+ // CHECK:STDERR: ^~~~~
28
31
// CHECK:STDERR:
29
- var c: C ({});
32
+ // CHECK:STDERR: fail_todo_use_template.carbon:[[@LINE+4]]:10: error: member name `C` not found in `Cpp` [MemberNameNotFoundInInstScope]
33
+ // CHECK:STDERR: var c: Cpp.C({});
34
+ // CHECK:STDERR: ^~~~~
35
+ // CHECK:STDERR:
36
+ var c: Cpp.C ({});
30
37
// @dump-sem-ir-end
31
38
}
32
39
You can’t perform that action at this time.
0 commit comments