#include <builtins.swift>

// Check that promotion of function args works
() printfloat (float x) {
  trace(x);
}

main () {
  printfloat(1.0);
  printfloat(1); // Should be promoted
  printfloat(1+1); // Should be promoted
  float x = 1 + 1 * 2;
  printfloat(x);
}

Add test for more complex float promotion scenarios
Add test for more complex float promotion scenarios

git-svn-id: 47705994653588c662f4ea400dfe88107361c0e2@5029 dc4e9af1-7f46-4ead-bba6-71afc04862de
