source: tests/array-collections/language-dim-mismatch.cfa @ 748877f

Last change on this file since 748877f was 0b8c951d, checked in by Peter A. Buhr <pabuhr@…>, 15 months ago

more rename directories containers to collections

  • Property mode set to 100644
File size: 292 bytes
RevLine 
[6e50a6b]1forall( [N] )
2struct SN {};
3
4forall( T )
5struct ST {};
6
7int main() {
8
9    SN(42) good1;
10    ST(float) good2;
11
12    SN(float) bad1;  // first  expected error: Type argument given for value parameter
13    ST(42) bad2;     // second expected error: Expression argument given for type parameter
14
15}
Note: See TracBrowser for help on using the repository browser.